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

Allow reset codebuild access to custom nuke config template bucket #409

Open
morganpa opened this issue Aug 25, 2021 · 0 comments
Open

Allow reset codebuild access to custom nuke config template bucket #409

morganpa opened this issue Aug 25, 2021 · 0 comments

Comments

@morganpa
Copy link

Version information
Terraform version = 0.12.31
DCE deployed with terraform @ v0.33.8

Describe the bug

Not sure if this should be filed as a feature request or a bug.

When passing a value for variable reset_nuke_template_bucket and reset_nuke_template_key I'd expect the build to be given necessary permissions in that bucket. (Add optional policy attachment in modules/reset_codebuild.tf)

To Reproduce
1.

 $ cat main.tfvars
namespace                   = "xxxxx"
reset_nuke_template_bucket  = "somebucket"
reset_nuke_template_key     = "config.yaml"
cd modules
terraform init
terraform apply -var-file main.tfvars
cd .. # this is not in the documentation btw https://dce.readthedocs.io/en/latest/terraform.html
make deploy
  1. dce accounts add ... trigger codebuild which should pull custom nuke config from 1

Expected behavior
Codebuild should be granted permissions at tf apply to access the bucket passed in variables.tf

Additional context
N/a

@morganpa morganpa changed the title Allow reset codebuild access to custom nuke config templte bucket Allow reset codebuild access to custom nuke config template bucket Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant