Difference between revisions of "Terraform: resource"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
* {{terraform aws resources}} | * {{terraform aws resources}} | ||
* {{terraform cmd}} | * {{terraform cmd}} | ||
− | * {{Terraform}} | + | * {{Terraform aws data sources}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Revision as of 19:30, 15 September 2021
- https://www.terraform.io/docs/language/resources/index.html
- Syntax: https://www.terraform.io/docs/language/resources/syntax.html
AWS provider
resource "aws_instance" "my_app_server" { ami = "ami-08d70e59c07c61a3a" instance_type = "t2.micro" tags = { Name = "ExampleAppServerInstance" }
Resources
Related terms
See also
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
terraform
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]- AWS Data sources:
aws_region
,aws_vpc
,aws_caller_identity
,aws_availability_zones
,aws_eip
,aws_flow_log
,template_file, aws_ami
Advertising: