Happy new year
I want to create an EC2 instance at the same time on development and Production at the same time
I’d recommend having at least different branches and pipelines for applying this as later you’ll try to test on dev before going to prod.
Quick and easy approach might just use two different provider definitions and use those for the two EC2 instances.
provider "aws" {}
provider "aws" {alias = "prod"}
resource ....{
provider = aws.prod
}