File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11# Core Infrastructure
22provider "aws" {
33 region = var. aws_deploy_region
4-
5- dynamic assume_role {
4+
5+ dynamic " assume_role" {
66 for_each = local. is_live_environment ? [1 ] : []
7-
7+
88 content {
99 role_arn = " arn:aws:iam::${ var . aws_deploy_account_id } :role/${ var . aws_deploy_iam_role_name } "
1010 session_name = " Terraform"
@@ -15,7 +15,7 @@ provider "aws" {
1515provider "aws" {
1616 alias = " aws_api_account"
1717 region = var. aws_deploy_region
18-
18+
1919 assume_role {
2020 role_arn = " arn:aws:iam::${ var . aws_api_account_id } :role/${ var . aws_deploy_iam_role_name } "
2121 session_name = " Terraform"
@@ -25,10 +25,10 @@ provider "aws" {
2525provider "aws" {
2626 alias = " aws_hackit_account"
2727 region = " eu-west-1"
28-
29- dynamic assume_role {
30- for_each = local. is_live_environment ? [1 ] : []
31-
28+
29+ dynamic " assume_role" {
30+ for_each = local. is_live_environment ? [1 ] : []
31+
3232 content {
3333 role_arn = " arn:aws:iam::${ var . aws_hackit_account_id } :role/${ var . aws_deploy_iam_role_name } "
3434 session_name = " DataPlatform"
@@ -50,7 +50,7 @@ terraform {
5050 required_providers {
5151 aws = {
5252 source = " hashicorp/aws"
53- version = " ~> 4 .0"
53+ version = " ~> 5 .0"
5454 }
5555 google = {
5656 source = " hashicorp/google"
You can’t perform that action at this time.
0 commit comments