Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 34: Line 34:
 
* <code>[[~]]</code>
 
* <code>[[~]]</code>
 
* <code>resources = [ "*" ]</code>
 
* <code>resources = [ "*" ]</code>
 +
[[Error: Missing name for resource]]
  
 
== See also ==
 
== See also ==

Revision as of 14:34, 17 October 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: