Skip to content

Commit

Permalink
fix: add a dependency to avoid terraform errors when generating ssh k…
Browse files Browse the repository at this point in the history
…eys (#24912)
  • Loading branch information
Juanadelacuesta authored Jan 22, 2025
1 parent 3d7e4fd commit 6873356
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions e2e/terraform/provision-infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ locals {

# Generates keys to use for provisioning and access
module "keys" {
name = local.random_name
path = "${local.keys_dir}"
source = "mitchellh/dynamic-keys/aws"
version = "v2.0.0"
depends_on = [random_pet.e2e]
name = local.random_name
path = "${local.keys_dir}"
source = "mitchellh/dynamic-keys/aws"
version = "v2.0.0"
}

data "aws_kms_alias" "e2e" {
Expand Down

0 comments on commit 6873356

Please sign in to comment.