Difference between revisions of "Terraform: resource"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
* {{terraform aws resources}} | * {{terraform aws resources}} | ||
* {{terraform resources}} | * {{terraform resources}} | ||
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Revision as of 13:44, 31 January 2023
- 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
- Terraform modules
- Terraform provider
terraform init
terraform plan
terraform import
gitlab_deploy_token
terraform show (grep resource)
~
resources = [ "*" ]
Error: Missing name for resource
See also
- AWS Data sources:
aws_region
,aws_vpc
,aws_caller_identity
,aws_availability_zones
,aws_eip
,aws_flow_log
,template_file, aws_ami
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
- Terraform resources, Terraform providers, Terraform provisioner,
random_password, random_string, null_resource
Advertising: