Skip to content

Commit

Permalink
remove ami launch permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke-hackit committed Oct 13, 2023
1 parent c502832 commit 995e46f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions terraform/modules/qlik-sense-server/13-aws-ec2-pre-prod.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ locals {
}
}

resource "aws_ami_launch_permission" "ami_permissions_for_pre_prod" {
count = var.is_production_environment ? 1 : 0
image_id = local.backup_ami_id_to_restore
account_id = data.aws_secretsmanager_secret_version.pre_production_account_id[0].secret_string
}

data "aws_secretsmanager_secret" "pre_production_account_id" {
count = var.is_production_environment ? 1 : 0
name = "manual/pre-production-account-id"
Expand Down

0 comments on commit 995e46f

Please sign in to comment.