Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 26: Line 26:
 
* [[Terraform provider]]
 
* [[Terraform provider]]
 
* [[Terraform]]: [[Terraform modules]]
 
* [[Terraform]]: [[Terraform modules]]
 +
* <code>[[terraform init]]</code>
 
* <code>[[terraform plan]]</code>
 
* <code>[[terraform plan]]</code>
 
* <code>[[terraform import]]</code>
 
* <code>[[terraform import]]</code>

Revision as of 20:45, 1 June 2022

AWS provider

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

  tags = {
    Name = "ExampleAppServerInstance"
  }

Resources

Related terms

See also

Advertising: