Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
     Name = "ExampleAppServerInstance"
 
     Name = "ExampleAppServerInstance"
 
   }
 
   }
 +
 +
* [[Terraform AWS resources]]
  
 
== Resources ==
 
== Resources ==

Revision as of 12:56, 2 November 2022

AWS provider

resource "aws_instance" "my_app_server" {
  ami           = "ami-08d70e59c07c61a3a"
  instance_type = "t2.micro"

  tags = {
    Name = "ExampleAppServerInstance"
  }

Resources

Related terms

Error: Missing name for resource

See also

Advertising: