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

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

Open
jonbrew opened this issue Apr 19, 2024 · 2 comments · May be fixed by #37072
Labels
documentation Introduces or discusses updates to documentation. service/codebuild Issues and PRs that pertain to the codebuild service.

Comments

@jonbrew
Copy link

jonbrew commented Apr 19, 2024

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:

  • Invalid input: sourceType CODEPIPELINE is not allowed for secondarySources
  • Invalid input: artifactType CODEPIPELINE is not allowed for secondaryArtifacts

Would you like to implement a fix?

None

@jonbrew jonbrew added the documentation Introduces or discusses updates to documentation. label Apr 19, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@acwwat
Copy link
Contributor

acwwat commented Apr 23, 2024

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.

@justinretzolk justinretzolk added service/codebuild Issues and PRs that pertain to the codebuild service. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Introduces or discusses updates to documentation. service/codebuild Issues and PRs that pertain to the codebuild service.
Projects
None yet
3 participants