Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + Artifacts *Artifacts + BadgeEnabled terra.BoolValue + BuildBatchConfig *BuildBatchConfig + BuildTimeout terra.NumberValue + Cache *Cache + ConcurrentBuildLimit terra.NumberValue + Description terra.StringValue + EncryptionKey terra.StringValue + Environment *Environment + FileSystemLocations []FileSystemLocations + Id terra.StringValue + LogsConfig *LogsConfig + Name terra.StringValue + ProjectVisibility terra.StringValue + QueuedTimeout terra.NumberValue + ResourceAccessRole terra.StringValue + SecondaryArtifacts []SecondaryArtifacts + SecondarySourceVersion []SecondarySourceVersion + SecondarySources []SecondarySources + ServiceRole terra.StringValue + Source *Source + SourceVersion terra.StringValue + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + VpcConfig *VpcConfig + type Artifacts struct + ArtifactIdentifier terra.StringValue + BucketOwnerAccess terra.StringValue + EncryptionDisabled terra.BoolValue + Location terra.StringValue + Name terra.StringValue + NamespaceType terra.StringValue + OverrideArtifactName terra.BoolValue + Packaging terra.StringValue + Path terra.StringValue + Type terra.StringValue + type ArtifactsAttributes struct + func (a ArtifactsAttributes) ArtifactIdentifier() terra.StringValue + func (a ArtifactsAttributes) BucketOwnerAccess() terra.StringValue + func (a ArtifactsAttributes) EncryptionDisabled() terra.BoolValue + func (a ArtifactsAttributes) InternalRef() (terra.Reference, error) + func (a ArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (a ArtifactsAttributes) InternalWithRef(ref terra.Reference) ArtifactsAttributes + func (a ArtifactsAttributes) Location() terra.StringValue + func (a ArtifactsAttributes) Name() terra.StringValue + func (a ArtifactsAttributes) NamespaceType() terra.StringValue + func (a ArtifactsAttributes) OverrideArtifactName() terra.BoolValue + func (a ArtifactsAttributes) Packaging() terra.StringValue + func (a ArtifactsAttributes) Path() terra.StringValue + func (a ArtifactsAttributes) Type() terra.StringValue + type ArtifactsState struct + ArtifactIdentifier string + BucketOwnerAccess string + EncryptionDisabled bool + Location string + Name string + NamespaceType string + OverrideArtifactName bool + Packaging string + Path string + Type string + type BuildBatchConfig struct + CombineArtifacts terra.BoolValue + Restrictions *BuildBatchConfigRestrictions + ServiceRole terra.StringValue + TimeoutInMins terra.NumberValue + type BuildBatchConfigAttributes struct + func (bbc BuildBatchConfigAttributes) CombineArtifacts() terra.BoolValue + func (bbc BuildBatchConfigAttributes) InternalRef() (terra.Reference, error) + func (bbc BuildBatchConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (bbc BuildBatchConfigAttributes) InternalWithRef(ref terra.Reference) BuildBatchConfigAttributes + func (bbc BuildBatchConfigAttributes) Restrictions() terra.ListValue[BuildBatchConfigRestrictionsAttributes] + func (bbc BuildBatchConfigAttributes) ServiceRole() terra.StringValue + func (bbc BuildBatchConfigAttributes) TimeoutInMins() terra.NumberValue + type BuildBatchConfigRestrictions struct + ComputeTypesAllowed terra.ListValue[terra.StringValue] + MaximumBuildsAllowed terra.NumberValue + type BuildBatchConfigRestrictionsAttributes struct + func (r BuildBatchConfigRestrictionsAttributes) ComputeTypesAllowed() terra.ListValue[terra.StringValue] + func (r BuildBatchConfigRestrictionsAttributes) InternalRef() (terra.Reference, error) + func (r BuildBatchConfigRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (r BuildBatchConfigRestrictionsAttributes) InternalWithRef(ref terra.Reference) BuildBatchConfigRestrictionsAttributes + func (r BuildBatchConfigRestrictionsAttributes) MaximumBuildsAllowed() terra.NumberValue + type BuildBatchConfigRestrictionsState struct + ComputeTypesAllowed []string + MaximumBuildsAllowed float64 + type BuildBatchConfigState struct + CombineArtifacts bool + Restrictions []BuildBatchConfigRestrictionsState + ServiceRole string + TimeoutInMins float64 + type Cache struct + Location terra.StringValue + Modes terra.ListValue[terra.StringValue] + Type terra.StringValue + type CacheAttributes struct + func (c CacheAttributes) InternalRef() (terra.Reference, error) + func (c CacheAttributes) InternalTokens() (hclwrite.Tokens, error) + func (c CacheAttributes) InternalWithRef(ref terra.Reference) CacheAttributes + func (c CacheAttributes) Location() terra.StringValue + func (c CacheAttributes) Modes() terra.ListValue[terra.StringValue] + func (c CacheAttributes) Type() terra.StringValue + type CacheState struct + Location string + Modes []string + Type string + type Environment struct + Certificate terra.StringValue + ComputeType terra.StringValue + EnvironmentVariable []EnvironmentEnvironmentVariable + Image terra.StringValue + ImagePullCredentialsType terra.StringValue + PrivilegedMode terra.BoolValue + RegistryCredential *EnvironmentRegistryCredential + Type terra.StringValue + type EnvironmentAttributes struct + func (e EnvironmentAttributes) Certificate() terra.StringValue + func (e EnvironmentAttributes) ComputeType() terra.StringValue + func (e EnvironmentAttributes) EnvironmentVariable() terra.ListValue[EnvironmentEnvironmentVariableAttributes] + func (e EnvironmentAttributes) Image() terra.StringValue + func (e EnvironmentAttributes) ImagePullCredentialsType() terra.StringValue + func (e EnvironmentAttributes) InternalRef() (terra.Reference, error) + func (e EnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error) + func (e EnvironmentAttributes) InternalWithRef(ref terra.Reference) EnvironmentAttributes + func (e EnvironmentAttributes) PrivilegedMode() terra.BoolValue + func (e EnvironmentAttributes) RegistryCredential() terra.ListValue[EnvironmentRegistryCredentialAttributes] + func (e EnvironmentAttributes) Type() terra.StringValue + type EnvironmentEnvironmentVariable struct + Name terra.StringValue + Type terra.StringValue + Value terra.StringValue + type EnvironmentEnvironmentVariableAttributes struct + func (ev EnvironmentEnvironmentVariableAttributes) InternalRef() (terra.Reference, error) + func (ev EnvironmentEnvironmentVariableAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ev EnvironmentEnvironmentVariableAttributes) InternalWithRef(ref terra.Reference) EnvironmentEnvironmentVariableAttributes + func (ev EnvironmentEnvironmentVariableAttributes) Name() terra.StringValue + func (ev EnvironmentEnvironmentVariableAttributes) Type() terra.StringValue + func (ev EnvironmentEnvironmentVariableAttributes) Value() terra.StringValue + type EnvironmentEnvironmentVariableState struct + Name string + Type string + Value string + type EnvironmentRegistryCredential struct + Credential terra.StringValue + CredentialProvider terra.StringValue + type EnvironmentRegistryCredentialAttributes struct + func (rc EnvironmentRegistryCredentialAttributes) Credential() terra.StringValue + func (rc EnvironmentRegistryCredentialAttributes) CredentialProvider() terra.StringValue + func (rc EnvironmentRegistryCredentialAttributes) InternalRef() (terra.Reference, error) + func (rc EnvironmentRegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error) + func (rc EnvironmentRegistryCredentialAttributes) InternalWithRef(ref terra.Reference) EnvironmentRegistryCredentialAttributes + type EnvironmentRegistryCredentialState struct + Credential string + CredentialProvider string + type EnvironmentState struct + Certificate string + ComputeType string + EnvironmentVariable []EnvironmentEnvironmentVariableState + Image string + ImagePullCredentialsType string + PrivilegedMode bool + RegistryCredential []EnvironmentRegistryCredentialState + Type string + type FileSystemLocations struct + Identifier terra.StringValue + Location terra.StringValue + MountOptions terra.StringValue + MountPoint terra.StringValue + Type terra.StringValue + type FileSystemLocationsAttributes struct + func (fsl FileSystemLocationsAttributes) Identifier() terra.StringValue + func (fsl FileSystemLocationsAttributes) InternalRef() (terra.Reference, error) + func (fsl FileSystemLocationsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (fsl FileSystemLocationsAttributes) InternalWithRef(ref terra.Reference) FileSystemLocationsAttributes + func (fsl FileSystemLocationsAttributes) Location() terra.StringValue + func (fsl FileSystemLocationsAttributes) MountOptions() terra.StringValue + func (fsl FileSystemLocationsAttributes) MountPoint() terra.StringValue + func (fsl FileSystemLocationsAttributes) Type() terra.StringValue + type FileSystemLocationsState struct + Identifier string + Location string + MountOptions string + MountPoint string + Type string + type LogsConfig struct + CloudwatchLogs *LogsConfigCloudwatchLogs + S3Logs *LogsConfigS3Logs + type LogsConfigAttributes struct + func (lc LogsConfigAttributes) CloudwatchLogs() terra.ListValue[LogsConfigCloudwatchLogsAttributes] + func (lc LogsConfigAttributes) InternalRef() (terra.Reference, error) + func (lc LogsConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (lc LogsConfigAttributes) InternalWithRef(ref terra.Reference) LogsConfigAttributes + func (lc LogsConfigAttributes) S3Logs() terra.ListValue[LogsConfigS3LogsAttributes] + type LogsConfigCloudwatchLogs struct + GroupName terra.StringValue + Status terra.StringValue + StreamName terra.StringValue + type LogsConfigCloudwatchLogsAttributes struct + func (cl LogsConfigCloudwatchLogsAttributes) GroupName() terra.StringValue + func (cl LogsConfigCloudwatchLogsAttributes) InternalRef() (terra.Reference, error) + func (cl LogsConfigCloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cl LogsConfigCloudwatchLogsAttributes) InternalWithRef(ref terra.Reference) LogsConfigCloudwatchLogsAttributes + func (cl LogsConfigCloudwatchLogsAttributes) Status() terra.StringValue + func (cl LogsConfigCloudwatchLogsAttributes) StreamName() terra.StringValue + type LogsConfigCloudwatchLogsState struct + GroupName string + Status string + StreamName string + type LogsConfigS3Logs struct + BucketOwnerAccess terra.StringValue + EncryptionDisabled terra.BoolValue + Location terra.StringValue + Status terra.StringValue + type LogsConfigS3LogsAttributes struct + func (sl LogsConfigS3LogsAttributes) BucketOwnerAccess() terra.StringValue + func (sl LogsConfigS3LogsAttributes) EncryptionDisabled() terra.BoolValue + func (sl LogsConfigS3LogsAttributes) InternalRef() (terra.Reference, error) + func (sl LogsConfigS3LogsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (sl LogsConfigS3LogsAttributes) InternalWithRef(ref terra.Reference) LogsConfigS3LogsAttributes + func (sl LogsConfigS3LogsAttributes) Location() terra.StringValue + func (sl LogsConfigS3LogsAttributes) Status() terra.StringValue + type LogsConfigS3LogsState struct + BucketOwnerAccess string + EncryptionDisabled bool + Location string + Status string + type LogsConfigState struct + CloudwatchLogs []LogsConfigCloudwatchLogsState + S3Logs []LogsConfigS3LogsState + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (acp *Resource) Attributes() awsCodebuildProjectAttributes + func (acp *Resource) Configuration() interface{} + func (acp *Resource) DependOn() terra.Reference + func (acp *Resource) Dependencies() terra.Dependencies + func (acp *Resource) ImportState(state io.Reader) error + func (acp *Resource) LifecycleManagement() *terra.Lifecycle + func (acp *Resource) LocalName() string + func (acp *Resource) State() (*awsCodebuildProjectState, bool) + func (acp *Resource) StateMust() *awsCodebuildProjectState + func (acp *Resource) Type() string + type SecondaryArtifacts struct + ArtifactIdentifier terra.StringValue + BucketOwnerAccess terra.StringValue + EncryptionDisabled terra.BoolValue + Location terra.StringValue + Name terra.StringValue + NamespaceType terra.StringValue + OverrideArtifactName terra.BoolValue + Packaging terra.StringValue + Path terra.StringValue + Type terra.StringValue + type SecondaryArtifactsAttributes struct + func (sa SecondaryArtifactsAttributes) ArtifactIdentifier() terra.StringValue + func (sa SecondaryArtifactsAttributes) BucketOwnerAccess() terra.StringValue + func (sa SecondaryArtifactsAttributes) EncryptionDisabled() terra.BoolValue + func (sa SecondaryArtifactsAttributes) InternalRef() (terra.Reference, error) + func (sa SecondaryArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (sa SecondaryArtifactsAttributes) InternalWithRef(ref terra.Reference) SecondaryArtifactsAttributes + func (sa SecondaryArtifactsAttributes) Location() terra.StringValue + func (sa SecondaryArtifactsAttributes) Name() terra.StringValue + func (sa SecondaryArtifactsAttributes) NamespaceType() terra.StringValue + func (sa SecondaryArtifactsAttributes) OverrideArtifactName() terra.BoolValue + func (sa SecondaryArtifactsAttributes) Packaging() terra.StringValue + func (sa SecondaryArtifactsAttributes) Path() terra.StringValue + func (sa SecondaryArtifactsAttributes) Type() terra.StringValue + type SecondaryArtifactsState struct + ArtifactIdentifier string + BucketOwnerAccess string + EncryptionDisabled bool + Location string + Name string + NamespaceType string + OverrideArtifactName bool + Packaging string + Path string + Type string + type SecondarySourceVersion struct + SourceIdentifier terra.StringValue + SourceVersion terra.StringValue + type SecondarySourceVersionAttributes struct + func (ssv SecondarySourceVersionAttributes) InternalRef() (terra.Reference, error) + func (ssv SecondarySourceVersionAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ssv SecondarySourceVersionAttributes) InternalWithRef(ref terra.Reference) SecondarySourceVersionAttributes + func (ssv SecondarySourceVersionAttributes) SourceIdentifier() terra.StringValue + func (ssv SecondarySourceVersionAttributes) SourceVersion() terra.StringValue + type SecondarySourceVersionState struct + SourceIdentifier string + SourceVersion string + type SecondarySources struct + Auth *SecondarySourcesAuth + BuildStatusConfig *SecondarySourcesBuildStatusConfig + Buildspec terra.StringValue + GitCloneDepth terra.NumberValue + GitSubmodulesConfig *SecondarySourcesGitSubmodulesConfig + InsecureSsl terra.BoolValue + Location terra.StringValue + ReportBuildStatus terra.BoolValue + SourceIdentifier terra.StringValue + Type terra.StringValue + type SecondarySourcesAttributes struct + func (ss SecondarySourcesAttributes) Auth() terra.ListValue[SecondarySourcesAuthAttributes] + func (ss SecondarySourcesAttributes) BuildStatusConfig() terra.ListValue[SecondarySourcesBuildStatusConfigAttributes] + func (ss SecondarySourcesAttributes) Buildspec() terra.StringValue + func (ss SecondarySourcesAttributes) GitCloneDepth() terra.NumberValue + func (ss SecondarySourcesAttributes) GitSubmodulesConfig() terra.ListValue[SecondarySourcesGitSubmodulesConfigAttributes] + func (ss SecondarySourcesAttributes) InsecureSsl() terra.BoolValue + func (ss SecondarySourcesAttributes) InternalRef() (terra.Reference, error) + func (ss SecondarySourcesAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ss SecondarySourcesAttributes) InternalWithRef(ref terra.Reference) SecondarySourcesAttributes + func (ss SecondarySourcesAttributes) Location() terra.StringValue + func (ss SecondarySourcesAttributes) ReportBuildStatus() terra.BoolValue + func (ss SecondarySourcesAttributes) SourceIdentifier() terra.StringValue + func (ss SecondarySourcesAttributes) Type() terra.StringValue + type SecondarySourcesAuth struct + Resource terra.StringValue + Type terra.StringValue + type SecondarySourcesAuthAttributes struct + func (a SecondarySourcesAuthAttributes) InternalRef() (terra.Reference, error) + func (a SecondarySourcesAuthAttributes) InternalTokens() (hclwrite.Tokens, error) + func (a SecondarySourcesAuthAttributes) InternalWithRef(ref terra.Reference) SecondarySourcesAuthAttributes + func (a SecondarySourcesAuthAttributes) Resource() terra.StringValue + func (a SecondarySourcesAuthAttributes) Type() terra.StringValue + type SecondarySourcesAuthState struct + Resource string + Type string + type SecondarySourcesBuildStatusConfig struct + Context terra.StringValue + TargetUrl terra.StringValue + type SecondarySourcesBuildStatusConfigAttributes struct + func (bsc SecondarySourcesBuildStatusConfigAttributes) Context() terra.StringValue + func (bsc SecondarySourcesBuildStatusConfigAttributes) InternalRef() (terra.Reference, error) + func (bsc SecondarySourcesBuildStatusConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (bsc SecondarySourcesBuildStatusConfigAttributes) InternalWithRef(ref terra.Reference) SecondarySourcesBuildStatusConfigAttributes + func (bsc SecondarySourcesBuildStatusConfigAttributes) TargetUrl() terra.StringValue + type SecondarySourcesBuildStatusConfigState struct + Context string + TargetUrl string + type SecondarySourcesGitSubmodulesConfig struct + FetchSubmodules terra.BoolValue + type SecondarySourcesGitSubmodulesConfigAttributes struct + func (gsc SecondarySourcesGitSubmodulesConfigAttributes) FetchSubmodules() terra.BoolValue + func (gsc SecondarySourcesGitSubmodulesConfigAttributes) InternalRef() (terra.Reference, error) + func (gsc SecondarySourcesGitSubmodulesConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (gsc SecondarySourcesGitSubmodulesConfigAttributes) InternalWithRef(ref terra.Reference) SecondarySourcesGitSubmodulesConfigAttributes + type SecondarySourcesGitSubmodulesConfigState struct + FetchSubmodules bool + type SecondarySourcesState struct + Auth []SecondarySourcesAuthState + BuildStatusConfig []SecondarySourcesBuildStatusConfigState + Buildspec string + GitCloneDepth float64 + GitSubmodulesConfig []SecondarySourcesGitSubmodulesConfigState + InsecureSsl bool + Location string + ReportBuildStatus bool + SourceIdentifier string + Type string + type Source struct + Auth *SourceAuth + BuildStatusConfig *SourceBuildStatusConfig + Buildspec terra.StringValue + GitCloneDepth terra.NumberValue + GitSubmodulesConfig *SourceGitSubmodulesConfig + InsecureSsl terra.BoolValue + Location terra.StringValue + ReportBuildStatus terra.BoolValue + Type terra.StringValue + type SourceAttributes struct + func (s SourceAttributes) Auth() terra.ListValue[SourceAuthAttributes] + func (s SourceAttributes) BuildStatusConfig() terra.ListValue[SourceBuildStatusConfigAttributes] + func (s SourceAttributes) Buildspec() terra.StringValue + func (s SourceAttributes) GitCloneDepth() terra.NumberValue + func (s SourceAttributes) GitSubmodulesConfig() terra.ListValue[SourceGitSubmodulesConfigAttributes] + func (s SourceAttributes) InsecureSsl() terra.BoolValue + func (s SourceAttributes) InternalRef() (terra.Reference, error) + func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error) + func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes + func (s SourceAttributes) Location() terra.StringValue + func (s SourceAttributes) ReportBuildStatus() terra.BoolValue + func (s SourceAttributes) Type() terra.StringValue + type SourceAuth struct + Resource terra.StringValue + Type terra.StringValue + type SourceAuthAttributes struct + func (a SourceAuthAttributes) InternalRef() (terra.Reference, error) + func (a SourceAuthAttributes) InternalTokens() (hclwrite.Tokens, error) + func (a SourceAuthAttributes) InternalWithRef(ref terra.Reference) SourceAuthAttributes + func (a SourceAuthAttributes) Resource() terra.StringValue + func (a SourceAuthAttributes) Type() terra.StringValue + type SourceAuthState struct + Resource string + Type string + type SourceBuildStatusConfig struct + Context terra.StringValue + TargetUrl terra.StringValue + type SourceBuildStatusConfigAttributes struct + func (bsc SourceBuildStatusConfigAttributes) Context() terra.StringValue + func (bsc SourceBuildStatusConfigAttributes) InternalRef() (terra.Reference, error) + func (bsc SourceBuildStatusConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (bsc SourceBuildStatusConfigAttributes) InternalWithRef(ref terra.Reference) SourceBuildStatusConfigAttributes + func (bsc SourceBuildStatusConfigAttributes) TargetUrl() terra.StringValue + type SourceBuildStatusConfigState struct + Context string + TargetUrl string + type SourceGitSubmodulesConfig struct + FetchSubmodules terra.BoolValue + type SourceGitSubmodulesConfigAttributes struct + func (gsc SourceGitSubmodulesConfigAttributes) FetchSubmodules() terra.BoolValue + func (gsc SourceGitSubmodulesConfigAttributes) InternalRef() (terra.Reference, error) + func (gsc SourceGitSubmodulesConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (gsc SourceGitSubmodulesConfigAttributes) InternalWithRef(ref terra.Reference) SourceGitSubmodulesConfigAttributes + type SourceGitSubmodulesConfigState struct + FetchSubmodules bool + type SourceState struct + Auth []SourceAuthState + BuildStatusConfig []SourceBuildStatusConfigState + Buildspec string + GitCloneDepth float64 + GitSubmodulesConfig []SourceGitSubmodulesConfigState + InsecureSsl bool + Location string + ReportBuildStatus bool + Type string + type VpcConfig struct + SecurityGroupIds terra.SetValue[terra.StringValue] + Subnets terra.SetValue[terra.StringValue] + VpcId terra.StringValue + type VpcConfigAttributes struct + func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error) + func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error) + func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes + func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue] + func (vc VpcConfigAttributes) Subnets() terra.SetValue[terra.StringValue] + func (vc VpcConfigAttributes) VpcId() terra.StringValue + type VpcConfigState struct + SecurityGroupIds []string + Subnets []string + VpcId string