-
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
Submodules in AWS CodeBuild projects are not working #18069
Comments
seem that the issue stems from this: terraform-provider-aws/aws/resource_aws_codebuild_project.go Lines 1049 to 1065 in b4205b9
|
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. |
This issue was originally opened by @aichholzer as hashicorp/terraform#28062. It was migrated here as a result of the provider split. The original body of the issue is below.
Trying to enable
git_submodules_config
for aaws_codebuild_project
does not work.My repository's type is
BITBUCKET
, theterraform
documentation states:However, it is possible to manually set enable this on the AWS CodeBuild project's source page.
Why does
terraform
not apply this change fortype = BITBUCKET
repositories while it still being possible through the AWS CodeBuild dashboard?In my particular case, I have some sub-modules and when I run the build with
Use Git submodules = false
they are not pulled as expected. Once I manually set this in the project's source, it works; they are pulled as they should when the repository is cloned.I'd like to be able to set this directly through
terraform
:Terraform Version
Terraform Configuration Files
Expected Behavior
It should enable the
Use Git submodules
option (checkbox) in the AWS CodeBuild project's source settings.Actual Behavior
Running
terraform apply
acknowledges the change but does not perform it (onyes
). Consecutive runs ofterraform apply
will show the same change again as pending...The text was updated successfully, but these errors were encountered: