Terraform plan in terraform
With backend config files: terraform/prod.backend.tfvars
Plan: 1 to add, 0 to change, 0 to destroy.
```diff
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_iam_role.instance will be created
+ resource "aws_iam_role" "instance" {
+ arn = (known after apply)
+ assume_role_policy = jsonencode(
{
+ Statement = [
+ {
+ Action = "sts:AssumeRole"
+ Effect = "Allow"
+ Principal = {
+ Service = "ec2.amazonaws.com"
}
},
]
+ Version = "2012-10-17"
}
)
+ create_date = (known after apply)
+ force_detach_policies = false
+ id = (known after apply)
+ managed_policy_arns = (known after apply)
+ max_session_duration = 3600
+ name = "incubator_test_role"
+ name_prefix = (known after apply)
+ path = "/system/"
+ tags_all = (known after apply)
+ unique_id = (known after apply)
+ inline_policy (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
```
Terraform plan in terraform With backend config files:
terraform/prod.backend.tfvars
Plan: 1 to add, 0 to change, 0 to destroy.
```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # aws_iam_role.instance will be created + resource "aws_iam_role" "instance" { + arn = (known after apply) + assume_role_policy = jsonencode( { + Statement = [ + { + Action = "sts:AssumeRole" + Effect = "Allow" + Principal = { + Service = "ec2.amazonaws.com" } }, ] + Version = "2012-10-17" } ) + create_date = (known after apply) + force_detach_policies = false + id = (known after apply) + managed_policy_arns = (known after apply) + max_session_duration = 3600 + name = "incubator_test_role" + name_prefix = (known after apply) + path = "/system/" + tags_all = (known after apply) + unique_id = (known after apply) + inline_policy (known after apply) } Plan: 1 to add, 0 to change, 0 to destroy. ```:memo: Plan generated in Terraform plan (OIDC) #3