hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.74k stars 9.1k forks source link

[Docs]: codebuild_project module does not allow type of "CODEPIPELINE" for secondary_sources and secondary_artifacts blocks #36987

Open jonbrew opened 4 months ago

jonbrew commented 4 months ago

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codebuild_project

Description

The documentation mentions for both the secondary_sources block and the secondary_artifacts block that a type of "CODEPIPELINE" should be supported when they are not.

References

AWS doc mentions that CODEPIPELINE is not allowed for ProjectArtifacts https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectArtifacts.html

The following are the 400 responses when trying to apply:

Would you like to implement a fix?

None

github-actions[bot] commented 4 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

acwwat commented 4 months ago

I am working on a fix for doing more validation for secondary sources and artifacts, but acceptances are failing due to #37051 and #37052. I will submit a PR once those two new issues are fixed.