Skip to content

Commit

Permalink
adding stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 5, 2024
1 parent e396af8 commit 56a76a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 51 deletions.
38 changes: 0 additions & 38 deletions image-pipeline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ module "image_pipeline_repos" {
enforce_prs = true
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
secrets = [
for secret in [for secret in local.secrets : secret if secret != "AWS_ACCESS_KEY_ID"] :
{
name = replace(secret, "GITHUB", "GH")
value = lookup(module.env_var, secret).value
}
]
vars = [
{
name = "AWS_ACCESS_KEY_ID"
value = lookup(module.env_var, "AWS_ACCESS_KEY_ID").value
}
]
managed_extra_files = [
{
path = ".github/workflows/s3_upload.yaml"
Expand Down Expand Up @@ -87,19 +74,6 @@ module "aws_image_pipeline" {
enforce_prs = true
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
secrets = [
for secret in [for secret in local.secrets : secret if secret != "AWS_ACCESS_KEY_ID"] :
{
name = replace(secret, "GITHUB", "GH")
value = lookup(module.env_var, secret).value
}
]
vars = [
{
name = "AWS_ACCESS_KEY_ID"
value = lookup(module.env_var, "AWS_ACCESS_KEY_ID").value
}
]
managed_extra_files = [
{
path = ".github/workflows/terraform-plan.yaml"
Expand Down Expand Up @@ -148,18 +122,6 @@ module "terraform_aws_image_pipeline" {
name = "terraform_version"
value = "1.9.1"
},
{
name = "AWS_ACCESS_KEY_ID"
value = lookup(module.env_var, "AWS_ACCESS_KEY_ID").value
}

]
secrets = [
for secret in [for secret in local.secrets : secret if secret != "AWS_ACCESS_KEY_ID"] :
{
name = replace(secret, "GITHUB", "GH")
value = lookup(module.env_var, secret).value
}
]
managed_extra_files = [
{
Expand Down
13 changes: 0 additions & 13 deletions sandbox.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,4 @@ module "sandbox" {
)
}
]
secrets = [
for secret in [for secret in local.secrets : secret if secret != "AWS_ACCESS_KEY_ID"] :
{
name = replace(secret, "GITHUB", "GH")
value = lookup(module.env_var, secret).value
}
]
vars = [
{
name = "AWS_ACCESS_KEY_ID"
value = lookup(module.env_var, "AWS_ACCESS_KEY_ID").value
}
]
}

0 comments on commit 56a76a7

Please sign in to comment.