-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CodeBuild BuildBatchConfig #14534
Support CodeBuild BuildBatchConfig #14534
Conversation
d271db1
to
6ffd60b
Compare
+1 |
Hi guys, is there anything in particular blocking this from being merged? Without it, batch builds on CodeBuild are unusable if set up via Terraform:
The PR has been up since August seemingly without any movement. |
Hello Guys, Wanted to raise another PR for this same issue and discovered this PR. Please can this PR be merged |
+1 |
+1 please merge |
Hello, could you please resolve the conflict and merge this PR? @shuheiktgw @lmdehaas If both of you don't have enough time, is there anything that I can help? |
6ffd60b
to
a7effe1
Compare
It seems I messed this PR up so I'll turn this PR into a draft and fix the problem |
a7effe1
to
3040e02
Compare
0fa68af
to
d23c8ca
Compare
d23c8ca
to
d681747
Compare
This PR is ready for review again now (I almost ended up rewriting it from scratch...)! |
d681747
to
424d237
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCodeBuildProject_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeBuildProject_ -timeout 180m
=== RUN TestAccAWSCodeBuildProject_basic
=== PAUSE TestAccAWSCodeBuildProject_basic
=== RUN TestAccAWSCodeBuildProject_BadgeEnabled
=== PAUSE TestAccAWSCodeBuildProject_BadgeEnabled
=== RUN TestAccAWSCodeBuildProject_BuildTimeout
=== PAUSE TestAccAWSCodeBuildProject_BuildTimeout
=== RUN TestAccAWSCodeBuildProject_QueuedTimeout
=== PAUSE TestAccAWSCodeBuildProject_QueuedTimeout
=== RUN TestAccAWSCodeBuildProject_Cache
=== PAUSE TestAccAWSCodeBuildProject_Cache
=== RUN TestAccAWSCodeBuildProject_Description
=== PAUSE TestAccAWSCodeBuildProject_Description
=== RUN TestAccAWSCodeBuildProject_SourceVersion
=== PAUSE TestAccAWSCodeBuildProject_SourceVersion
=== RUN TestAccAWSCodeBuildProject_EncryptionKey
=== PAUSE TestAccAWSCodeBuildProject_EncryptionKey
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== RUN TestAccAWSCodeBuildProject_Environment_Certificate
=== PAUSE TestAccAWSCodeBuildProject_Environment_Certificate
=== RUN TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== RUN TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== RUN TestAccAWSCodeBuildProject_BuildBatchConfig
=== PAUSE TestAccAWSCodeBuildProject_BuildBatchConfig
=== RUN TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== PAUSE TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_InsecureSSL
=== PAUSE TestAccAWSCodeBuildProject_Source_InsecureSSL
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== RUN TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== RUN TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_Type_S3
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_S3
=== RUN TestAccAWSCodeBuildProject_Source_Type_NoSource
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSource
=== RUN TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== RUN TestAccAWSCodeBuildProject_Tags
=== PAUSE TestAccAWSCodeBuildProject_Tags
=== RUN TestAccAWSCodeBuildProject_VpcConfig
=== PAUSE TestAccAWSCodeBuildProject_VpcConfig
=== RUN TestAccAWSCodeBuildProject_WindowsServer2019Container
=== PAUSE TestAccAWSCodeBuildProject_WindowsServer2019Container
=== RUN TestAccAWSCodeBuildProject_ARMContainer
=== PAUSE TestAccAWSCodeBuildProject_ARMContainer
=== RUN TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== RUN TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== RUN TestAccAWSCodeBuildProject_Artifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Location
=== RUN TestAccAWSCodeBuildProject_Artifacts_Name
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Name
=== RUN TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== RUN TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== RUN TestAccAWSCodeBuildProject_Artifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Packaging
=== RUN TestAccAWSCodeBuildProject_Artifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Path
=== RUN TestAccAWSCodeBuildProject_Artifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Type
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Name
provider_test.go:55: Currently no solution to allow updates on name attribute
--- SKIP: TestAccAWSCodeBuildProject_SecondaryArtifacts_Name (0.00s)
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== RUN TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== PAUSE TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT TestAccAWSCodeBuildProject_basic
=== CONT TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== CONT TestAccAWSCodeBuildProject_Artifacts_Path
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== CONT TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== CONT TestAccAWSCodeBuildProject_Artifacts_Packaging
=== CONT TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== CONT TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== CONT TestAccAWSCodeBuildProject_Artifacts_Name
=== CONT TestAccAWSCodeBuildProject_Artifacts_Location
=== CONT TestAccAWSCodeBuildProject_ARMContainer
=== CONT TestAccAWSCodeBuildProject_WindowsServer2019Container
=== CONT TestAccAWSCodeBuildProject_VpcConfig
=== CONT TestAccAWSCodeBuildProject_Tags
=== CONT TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== CONT TestAccAWSCodeBuildProject_Source_Type_NoSource
=== CONT TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== CONT TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== CONT TestAccAWSCodeBuildProject_Source_Type_S3
=== CONT TestAccAWSCodeBuildProject_Source_GitCloneDepth
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (19.67s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
--- PASS: TestAccAWSCodeBuildProject_basic (39.95s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
--- PASS: TestAccAWSCodeBuildProject_ARMContainer (43.13s)
=== CONT TestAccAWSCodeBuildProject_Environment_RegistryCredential
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_CodeCommit (47.13s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
--- PASS: TestAccAWSCodeBuildProject_Source_Type_S3 (48.35s)
=== CONT TestAccAWSCodeBuildProject_BuildBatchConfig
--- PASS: TestAccAWSCodeBuildProject_WindowsServer2019Container (61.49s)
=== CONT TestAccAWSCodeBuildProject_LogsConfig_S3Logs
--- PASS: TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise (66.10s)
=== CONT TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
--- PASS: TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier (78.53s)
=== CONT TestAccAWSCodeBuildProject_Environment_Certificate
--- PASS: TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled (78.87s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Type (39.98s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (91.53s)
=== CONT TestAccAWSCodeBuildProject_Cache
--- PASS: TestAccAWSCodeBuildProject_Artifacts_NamespaceType (97.91s)
=== CONT TestAccAWSCodeBuildProject_EncryptionKey
--- PASS: TestAccAWSCodeBuildProject_Tags (99.62s)
=== CONT TestAccAWSCodeBuildProject_SourceVersion
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Name (102.80s)
=== CONT TestAccAWSCodeBuildProject_Description
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Path (104.88s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
--- PASS: TestAccAWSCodeBuildProject_Environment_RegistryCredential (72.05s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
--- PASS: TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName (117.78s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Packaging (119.43s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
--- PASS: TestAccAWSCodeBuildProject_BuildBatchConfig (72.02s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts
--- PASS: TestAccAWSCodeBuildProject_Environment_Certificate (67.76s)
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== CONT TestAccAWSCodeBuildProject_Artifacts_Type
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Path (137.19s)
--- PASS: TestAccAWSCodeBuildProject_SourceVersion (58.66s)
=== CONT TestAccAWSCodeBuildProject_BuildTimeout
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (66.24s)
=== CONT TestAccAWSCodeBuildProject_QueuedTimeout
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable (120.91s)
=== CONT TestAccAWSCodeBuildProject_Source_InsecureSSL
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Location (171.77s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_CodePipeline
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (175.48s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (188.85s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts (83.10s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs (149.44s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType (216.41s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Description (120.78s)
=== CONT TestAccAWSCodeBuildProject_BadgeEnabled
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (171.88s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value (173.20s)
=== CONT TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodePipeline (80.47s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodeCommit (84.50s)
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName (158.59s)
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Source_Type_Bitbucket (76.59s)
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled (152.65s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging (157.78s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Location (164.31s)
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (126.99s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_S3Logs (224.67s)
--- PASS: TestAccAWSCodeBuildProject_QueuedTimeout (126.80s)
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (125.52s)
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (71.78s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier (149.37s)
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Type (142.93s)
--- PASS: TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise (63.16s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise (112.36s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket (107.02s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub (108.29s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise (86.67s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub (86.38s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise (77.92s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub (81.68s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit (76.33s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit (74.41s)
--- PASS: TestAccAWSCodeBuildProject_Cache (254.80s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 349.387s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCodeBuildProject_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeBuildProject_ -timeout 180m
=== RUN TestAccAWSCodeBuildProject_basic
=== PAUSE TestAccAWSCodeBuildProject_basic
=== RUN TestAccAWSCodeBuildProject_BadgeEnabled
=== PAUSE TestAccAWSCodeBuildProject_BadgeEnabled
=== RUN TestAccAWSCodeBuildProject_BuildTimeout
=== PAUSE TestAccAWSCodeBuildProject_BuildTimeout
=== RUN TestAccAWSCodeBuildProject_QueuedTimeout
=== PAUSE TestAccAWSCodeBuildProject_QueuedTimeout
=== RUN TestAccAWSCodeBuildProject_Cache
=== PAUSE TestAccAWSCodeBuildProject_Cache
=== RUN TestAccAWSCodeBuildProject_Description
=== PAUSE TestAccAWSCodeBuildProject_Description
=== RUN TestAccAWSCodeBuildProject_SourceVersion
=== PAUSE TestAccAWSCodeBuildProject_SourceVersion
=== RUN TestAccAWSCodeBuildProject_EncryptionKey
=== PAUSE TestAccAWSCodeBuildProject_EncryptionKey
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== RUN TestAccAWSCodeBuildProject_Environment_Certificate
=== PAUSE TestAccAWSCodeBuildProject_Environment_Certificate
=== RUN TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== RUN TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== RUN TestAccAWSCodeBuildProject_BuildBatchConfig
resource_aws_codebuild_project_test.go:627: CodeBuild Project build batch config is not supported in GovCloud partition
--- SKIP: TestAccAWSCodeBuildProject_BuildBatchConfig (0.00s)
=== RUN TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== PAUSE TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== RUN TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== RUN TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
resource_aws_codebuild_project_test.go:925: CodeBuild Project build status config is not supported in GovCloud partition
--- SKIP: TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise (0.00s)
=== RUN TestAccAWSCodeBuildProject_Source_InsecureSSL
=== PAUSE TestAccAWSCodeBuildProject_Source_InsecureSSL
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== RUN TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== RUN TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== RUN TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== RUN TestAccAWSCodeBuildProject_Source_Type_S3
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_S3
=== RUN TestAccAWSCodeBuildProject_Source_Type_NoSource
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSource
=== RUN TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== RUN TestAccAWSCodeBuildProject_Tags
=== PAUSE TestAccAWSCodeBuildProject_Tags
=== RUN TestAccAWSCodeBuildProject_VpcConfig
=== PAUSE TestAccAWSCodeBuildProject_VpcConfig
=== RUN TestAccAWSCodeBuildProject_WindowsServer2019Container
=== PAUSE TestAccAWSCodeBuildProject_WindowsServer2019Container
=== RUN TestAccAWSCodeBuildProject_ARMContainer
=== PAUSE TestAccAWSCodeBuildProject_ARMContainer
=== RUN TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== RUN TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== RUN TestAccAWSCodeBuildProject_Artifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Location
=== RUN TestAccAWSCodeBuildProject_Artifacts_Name
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Name
=== RUN TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== RUN TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== RUN TestAccAWSCodeBuildProject_Artifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Packaging
=== RUN TestAccAWSCodeBuildProject_Artifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Path
=== RUN TestAccAWSCodeBuildProject_Artifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Type
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Name
provider_test.go:55: Currently no solution to allow updates on name attribute
--- SKIP: TestAccAWSCodeBuildProject_SecondaryArtifacts_Name (0.00s)
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== RUN TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== RUN TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== RUN TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== PAUSE TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT TestAccAWSCodeBuildProject_basic
=== CONT TestAccAWSCodeBuildProject_Source_Type_S3
=== CONT TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== CONT TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== CONT TestAccAWSCodeBuildProject_WindowsServer2019Container
=== CONT TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== CONT TestAccAWSCodeBuildProject_SecondaryArtifacts
=== CONT TestAccAWSCodeBuildProject_Artifacts_Type
=== CONT TestAccAWSCodeBuildProject_Artifacts_Path
=== CONT TestAccAWSCodeBuildProject_Artifacts_Packaging
=== CONT TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== CONT TestAccAWSCodeBuildProject_WindowsServer2019Container
provider_test.go:1072: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/04/29 10:53:15 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
Error: Error creating CodeBuild project: InvalidInputException: Region us-gov-west-1 is not supported for WINDOWS_SERVER_2019_CONTAINER
on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
64: resource "aws_codebuild_project" "test" {
--- SKIP: TestAccAWSCodeBuildProject_WindowsServer2019Container (24.03s)
=== CONT TestAccAWSCodeBuildProject_ARMContainer
provider_test.go:1072: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/04/29 10:53:28 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
Error: Error creating CodeBuild project: InvalidInputException: Region us-gov-west-1 is not supported for ARM_CONTAINER
on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
64: resource "aws_codebuild_project" "test" {
--- SKIP: TestAccAWSCodeBuildProject_ARMContainer (11.35s)
=== CONT TestAccAWSCodeBuildProject_Artifacts_Name
--- PASS: TestAccAWSCodeBuildProject_basic (48.56s)
=== CONT TestAccAWSCodeBuildProject_Artifacts_Location
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_CodeCommit (51.01s)
=== CONT TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts (61.28s)
=== CONT TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit (66.43s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
--- PASS: TestAccAWSCodeBuildProject_Environment_RegistryCredential (68.22s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_NoSource
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging (71.79s)
=== CONT TestAccAWSCodeBuildProject_Cache
--- PASS: TestAccAWSCodeBuildProject_Source_Type_S3 (79.78s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier (82.90s)
=== CONT TestAccAWSCodeBuildProject_Tags
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType (83.54s)
=== CONT TestAccAWSCodeBuildProject_VpcConfig
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Path (84.51s)
=== CONT TestAccAWSCodeBuildProject_EncryptionKey
--- PASS: TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName (85.91s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (26.83s)
=== CONT TestAccAWSCodeBuildProject_Source_GitCloneDepth
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Type (97.50s)
=== CONT TestAccAWSCodeBuildProject_SourceVersion
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName (101.28s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled (104.33s)
=== CONT TestAccAWSCodeBuildProject_Description
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Name (76.63s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_CodePipeline
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (44.30s)
=== CONT TestAccAWSCodeBuildProject_Environment_Certificate
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (35.36s)
=== CONT TestAccAWSCodeBuildProject_LogsConfig_S3Logs
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Type (128.04s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
--- PASS: TestAccAWSCodeBuildProject_Artifacts_NamespaceType (133.22s)
=== CONT TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Location (135.15s)
=== CONT TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
--- PASS: TestAccAWSCodeBuildProject_SourceVersion (37.72s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Packaging (137.78s)
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise (43.05s)
=== CONT TestAccAWSCodeBuildProject_Source_InsecureSSL
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodePipeline (34.59s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Tags (69.37s)
=== CONT TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== CONT TestAccAWSCodeBuildProject_Cache
resource_aws_codebuild_project_test.go:207: Step 6/8 error: Error running apply: exit status 1
2021/04/29 10:55:32 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
Error: [ERROR] Error updating CodeBuild project (arn:aws-us-gov:codebuild:us-gov-west-1:357342307427:project/tf-acc-test-1362578455985657395): InvalidInputException: Bucket some-new-bucket does not exist
on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
64: resource "aws_codebuild_project" "test" {
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Path (157.55s)
=== CONT TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (64.41s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_CodeCommit
--- FAIL: TestAccAWSCodeBuildProject_Cache (86.06s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
--- PASS: TestAccAWSCodeBuildProject_Description (57.39s)
=== CONT TestAccAWSCodeBuildProject_BuildTimeout
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable (87.43s)
=== CONT TestAccAWSCodeBuildProject_QueuedTimeout
--- PASS: TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled (117.90s)
=== CONT TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Environment_Certificate (64.07s)
=== CONT TestAccAWSCodeBuildProject_BadgeEnabled
--- PASS: TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier (122.17s)
=== CONT TestAccAWSCodeBuildProject_Source_Type_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub (56.56s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodeCommit (38.28s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit (54.66s)
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (60.52s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub (58.91s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_Bitbucket (35.10s)
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (41.97s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub (61.19s)
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (58.38s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise (70.85s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_S3Logs (106.28s)
--- PASS: TestAccAWSCodeBuildProject_QueuedTimeout (61.77s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise (62.13s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (97.88s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs (100.18s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise (102.61s)
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (157.41s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value (116.43s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket (161.66s)
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Location (296.34s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 348.013s
FAIL
make: *** [testacc] Error 1
The failure is not new and is unrelated to this change.
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #14472
Output from acceptance testing:
TestAccAWSCodeBuildProject_WindowsServer2019Container
fails due to the environmental problem but except that all the tests passed. Thank you for your review! 👍