Notifications
Clear all

How to fix this?

1 Posts
1 Users
0 Likes
98 Views
(@ferronigiovanni)
Posts: 731
Noble Member
Topic starter
 

John wants to use two different regions to deploy two different EC2 instances. He has specified two provider blocks in his providers.tf file.

provider "aws" { region = "us-east-1" }

provider "aws" { region = "us-west-2" }

When he run terraform plan he encountered an error.

How to fix this?

  • A . Use another provider version
    B. Use alias for region = "us-west-2"
    C. Use default keyword with region = "us-east-1"
    D. It can not be fixed

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 12/01/2023 5:06 pm

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: