Difference between revisions of "Terraform AWS provider: assume role property"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
   version    = ">= 0.13"
 
   version    = ">= 0.13"
 
   assume_role {
 
   assume_role {
     role_arn = "$(AWS_ROLE_ARN)"
+
     [[role_arn]] = "$(AWS_ROLE_ARN)"
 
   }
 
   }
 
  }  
 
  }  

Revision as of 13:24, 10 February 2022


https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html


Terraform provider AWS:

provider "aws" {
  region     = var.region
  version    = ">= 0.13"
  assume_role {
    role_arn = "$(AWS_ROLE_ARN)"
  }
} 


See also

Advertising: