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

secondary source_version in aws_codebuild project #13788

Closed
LevinDmytro2 opened this issue Jun 17, 2020 · 4 comments
Closed

secondary source_version in aws_codebuild project #13788

LevinDmytro2 opened this issue Jun 17, 2020 · 4 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/codebuild Issues and PRs that pertain to the codebuild service.

Comments

@LevinDmytro2
Copy link

LevinDmytro2 commented Jun 17, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • 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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.12.24

aws provider 2.66

Affected Resource(s)

  • aws_codebuild_project

Terraform Configuration Files

  secondary_sources {
    type              = "BITBUCKET"
    source_identifier = "qa"
    location          = "https://xxxxxx.git"
    git_clone_depth   = 0
    source_version = "refs/heads/master"

  }

Debug Output

Panic Output

Expected Behavior

Adding source version to secondary source version

Actual Behavior

An argument named "source_version" is not expected here.

Steps to Reproduce

  1. terraform apply

Important Factoids

The AWS interface has a field that cannot be filled by terraform code when a secondary source is selected

References

  • #0000
@ghost ghost added the service/codebuild Issues and PRs that pertain to the codebuild service. label Jun 17, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 17, 2020
@breathingdust breathingdust added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 10, 2020
@ghost
Copy link

ghost commented Mar 6, 2021

Any news here? Having to do this manually really isn't great.

@zhujik
Copy link

zhujik commented Mar 26, 2021

Yeah this seems like it should be easy to add, the aws cli supports setting the source version for secondary sources: https://docs.aws.amazon.com/cli/latest/reference/codebuild/create-project.html

@DrFaust92
Copy link
Collaborator

duplicate of #13241

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/codebuild Issues and PRs that pertain to the codebuild service.
Projects
None yet
Development

No branches or pull requests

4 participants