diff --git a/aws/asg_master.tf b/aws/asg_master.tf index b6a9b86..3d5eec6 100644 --- a/aws/asg_master.tf +++ b/aws/asg_master.tf @@ -77,9 +77,4 @@ resource "aws_launch_configuration" "master" { resource "aws_iam_instance_profile" "master" { name = "${var.name}-master" role = "${aws_iam_role.master.name}" - depends_on = ["aws_iam_role_policy.master"] - - provisioner "local-exec" { - command = "sleep 30" - } } diff --git a/aws/asg_worker.tf b/aws/asg_worker.tf index b4c0b3d..14d9b0c 100644 --- a/aws/asg_worker.tf +++ b/aws/asg_worker.tf @@ -69,9 +69,4 @@ resource "aws_launch_configuration" "worker" { resource "aws_iam_instance_profile" "worker" { name = "${var.name}-worker" role = "${aws_iam_role.worker.name}" - depends_on = ["aws_iam_role_policy.worker"] - - provisioner "local-exec" { - command = "sleep 30" - } } diff --git a/examples/opscenter-aws/example-opscenter.tf b/examples/opscenter-aws/example-opscenter.tf index abfbd5f..6966e82 100644 --- a/examples/opscenter-aws/example-opscenter.tf +++ b/examples/opscenter-aws/example-opscenter.tf @@ -106,7 +106,8 @@ module "telekube2" { } provider "aws" { - region = "us-east-1" + region = "us-east-1" + version = "1.40.0" } // TODO(knisbet) make sure this works with a public AMI