-
-
Save roxsross/e2195a148475e404e37c264dea1f18f3 to your computer and use it in GitHub Desktop.
terraform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configuración del proveedor | |
terraform { | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 5.0" | |
} | |
} | |
} | |
provider "aws" { | |
region = "us-east-1" | |
} | |
resource "aws_instance" "ec2" { | |
ami = "ami-053b0d53c279acc90" | |
instance_type = "t2.micro" | |
tags = { | |
"Name" : "ec2-terraform" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment