Created
February 13, 2023 05:50
-
-
Save devops-school/fd155eaf6761dee93e30b2de9bae7331 to your computer and use it in GitHub Desktop.
Revisions
-
devops-school created this gist
Feb 13, 2023 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ variable "instance_name" { type = string default = "my-instance" } provider "aws" { region = "us-west-2" } resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = var.instance_name } }