Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== Resources ==
 
== Resources ==
* <code>[[Terrafrom resource: aws_instance|aws_instance]]</code>
+
* <code>[[Terraform resource: aws_instance|aws_instance]]</code>
 
* [[Terraform resource: aws_key_pair]]
 
* [[Terraform resource: aws_key_pair]]
 
* <code>[[aws_lb_listener_rule]]</code>
 
* <code>[[aws_lb_listener_rule]]</code>

Revision as of 18:48, 6 September 2021


AWS provider

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

  tags = {
    Name = "ExampleAppServerInstance"
  }

Resources

Related terms

See also

Advertising: