Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* AWS
 
* AWS
 
** <code>[[Terraform resource: aws_instance|aws_instance]]</code>
 
** <code>[[Terraform resource: aws_instance|aws_instance]]</code>
** [[Terraform resource: aws_key_pair]]
+
** <code>[[Terraform resource: aws_key_pair|aws_key_pair]]</code>
 
** <code>[[aws_lb_listener_rule]]</code>
 
** <code>[[aws_lb_listener_rule]]</code>
 
** <code>[[aws_security_group]]</code>
 
** <code>[[aws_security_group]]</code>

Revision as of 20:41, 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: