Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Roles are attached to profiles with eventual consistency via retries (#4
Browse files Browse the repository at this point in the history
)

* Roles are attached to profiles with eventual consistency via retries

hashicorp/terraform-provider-aws#6079

* required 1.40 provider
  • Loading branch information
helgi authored and knisbet committed Oct 12, 2018
1 parent e18132e commit 96f874e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions aws/asg_master.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
5 changes: 0 additions & 5 deletions aws/asg_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion examples/opscenter-aws/example-opscenter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96f874e

Please sign in to comment.