Skip to content
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

resource/aws_codebuild_project: Support NO_SOURCE as source's type #6140

Merged
merged 1 commit into from
Oct 14, 2018

Conversation

tkbky
Copy link
Contributor

@tkbky tkbky commented Oct 13, 2018

Fixes #6076

Changes proposed in this pull request:

  • Support for NO_SOURCE as project source's type.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSCodeBuildProject_Source_Type_NoSource'

TF_ACC=1 go test ./... -v -run=TestAccAWSCodeBuildProject_Source_Type_NoSource -timeout 120m
?   	github.com/terraform-providers/terraform-provider-aws	[no test files]
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSource
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (47.43s)
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (31.68s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	79.153s
...

@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/codebuild Issues and PRs that pertain to the codebuild service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 13, 2018
@bflad bflad added this to the v1.41.0 milestone Oct 14, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tkbky! 🚀

--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (8.58s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodeCommit (17.08s)
--- PASS: TestAccAWSCodeBuildProject_Source_Auth (17.31s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_S3 (17.73s)
--- PASS: TestAccAWSCodeBuildProject_Environment_Certificate (17.75s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_Bitbucket (17.91s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (17.93s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus (22.21s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (22.77s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise (24.54s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodePipeline (24.69s)
--- PASS: TestAccAWSCodeBuildProject_basic (25.28s)
--- PASS: TestAccAWSCodeBuildProject_importBasic (25.32s)
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (25.54s)
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (29.17s)
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (29.19s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (29.24s)
--- PASS: TestAccAWSCodeBuildProject_Description (29.42s)
--- PASS: TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled (15.64s)
--- PASS: TestAccAWSCodeBuildProject_Cache (34.32s)
--- PASS: TestAccAWSCodeBuildProject_Tags (27.22s)
--- PASS: TestAccAWSCodeBuildProject_WindowsContainer (23.29s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_CodeCommit (23.87s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts (24.67s)
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (42.85s)
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (37.84s)

@bflad bflad merged commit ad0a547 into hashicorp:master Oct 14, 2018
bflad added a commit that referenced this pull request Oct 14, 2018
@bflad
Copy link
Contributor

bflad commented Oct 18, 2018

This has been released in version 1.41.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 2, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/codebuild Issues and PRs that pertain to the codebuild service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_codebuild_project is missing NO_SOURCE source type
2 participants