-
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
Adding codebuild.EnvironmentTypeWindowsContainer as valid type for aw… #4960
Conversation
…s_codepipeline_project/environment/type. Fixes #4940
👍 |
@@ -157,6 +157,7 @@ func resourceAwsCodeBuildProject() *schema.Resource { | |||
Required: true, | |||
ValidateFunc: validation.StringInSlice([]string{ | |||
codebuild.EnvironmentTypeLinuxContainer, | |||
codebuild.EnvironmentTypeWindowsContainer, |
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.
Can you please add this to the documentation as well? https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/codebuild_project.html.markdown#L179
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.
Looks good, thanks @ryno75! I'll take care of the documentation on merge.
13 tests passed (all tests)
=== RUN TestAccAWSCodeBuildProject_basic
--- PASS: TestAccAWSCodeBuildProject_basic (21.87s)
=== RUN TestAccAWSCodeBuildProject_Source_Auth
--- PASS: TestAccAWSCodeBuildProject_Source_Auth (23.16s)
=== RUN TestAccAWSCodeBuildProject_WindowsContainer
--- PASS: TestAccAWSCodeBuildProject_WindowsContainer (23.90s)
=== RUN TestAccAWSCodeBuildProject_Source_GitCloneDepth
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (27.41s)
=== RUN TestAccAWSCodeBuildProject_Tags
--- PASS: TestAccAWSCodeBuildProject_Tags (27.84s)
=== RUN TestAccAWSCodeBuildProject_Description
--- PASS: TestAccAWSCodeBuildProject_Description (29.48s)
=== RUN TestAccAWSCodeBuildProject_BuildTimeout
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (31.00s)
=== RUN TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (31.66s)
=== RUN TestAccAWSCodeBuildProject_Source_InsecureSSL
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (32.11s)
=== RUN TestAccAWSCodeBuildProject_BadgeEnabled
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (36.88s)
=== RUN TestAccAWSCodeBuildProject_VpcConfig
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (38.71s)
=== RUN TestAccAWSCodeBuildProject_EncryptionKey
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (55.06s)
=== RUN TestAccAWSCodeBuildProject_Cache
--- PASS: TestAccAWSCodeBuildProject_Cache (58.03s)
This has been released in version 1.25.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
…s_codepipeline_project/environment/type. Fixes #4940
Fixes #4940
Changes proposed in this pull request:
codebuild.EnvironmentTypeWindowsContainer
as a valid type for the aws_codebuild_project environment/type property.Output from acceptance testing: