Skip to content

Commit

Permalink
fixup! fixup! rename tf to infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead committed Nov 3, 2023
1 parent b25073b commit 1ab0b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const (
// TerraformIAMUpgradeBackupDir is the directory name being used to backup the pre-upgrade state of iam in an upgrade.
TerraformIAMUpgradeBackupDir = "terraform-iam-backup"
// TerraformEmbeddedDir is the name of the base directory embedded in the CLI binary containing the Terraform files.
TerraformEmbeddedDir = "terraform"
TerraformEmbeddedDir = "infrastructure"
// UpgradeDir is the name of the directory being used for cluster upgrades.
UpgradeDir = "constellation-upgrade"
// ControlPlaneDefault is the name of the default control plane worker group.
Expand Down
4 changes: 2 additions & 2 deletions terraform/aws-constellation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {
}

module "aws_iam" {
source = "../terraform/iam/aws"
source = "../infrastructure/iam/aws"
name_prefix = var.name_prefix
region = local.region
}
Expand All @@ -30,7 +30,7 @@ module "fetch_ami" {


module "aws" {
source = "../terraform/aws"
source = "../infrastructure/aws"
name = var.name
node_groups = var.node_groups
iam_instance_profile_worker_nodes = module.aws_iam.worker_nodes_instance_profile
Expand Down

0 comments on commit 1ab0b20

Please sign in to comment.