Skip to content

Commit

Permalink
fix: terraform fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-unnerup committed Dec 10, 2019
1 parent fc8024a commit 1219b9c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions terraform/deployments/AWS/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ module "Kubernetes" {

// Setup host within Kubernetes subnet
module "InternalNode" {
source = "../../modules/AWS/InternalNode"
ami_id = "${module.Ami.AmiId}"
instance_type = "${var.instance_type}"
access_key_name = "${module.SshKey.KeyPairName}"
control_plane_sg_id = "${module.SecurityGroups.ControlPlaneSecurityGroupID}"
private_subnet_id = "${module.Networking.PrivateSubnetId}"
default_tags = "${local.aws_tags}"
bastion_public_ip = "${module.Bastion.BastionPublicIp}"
iam_instance_profile_id = "${module.S3Storage.IamInstanceProfileId}"
s3_bucket_name = "${module.S3Storage.S3BucketName}"
source = "../../modules/AWS/InternalNode"
ami_id = "${module.Ami.AmiId}"
instance_type = "${var.instance_type}"
access_key_name = "${module.SshKey.KeyPairName}"
control_plane_sg_id = "${module.SecurityGroups.ControlPlaneSecurityGroupID}"
private_subnet_id = "${module.Networking.PrivateSubnetId}"
default_tags = "${local.aws_tags}"
bastion_public_ip = "${module.Bastion.BastionPublicIp}"
iam_instance_profile_id = "${module.S3Storage.IamInstanceProfileId}"
s3_bucket_name = "${module.S3Storage.S3BucketName}"
}

// Create S3 bucket to share Kubernetes join details between
// master and nodes
module "S3Storage" {
source = "../../modules/AWS/S3Storage"
default_tags = "${local.aws_tags}"
source = "../../modules/AWS/S3Storage"
default_tags = "${local.aws_tags}"
}

// Define security groups
Expand Down

0 comments on commit 1219b9c

Please sign in to comment.