Difference between revisions of "Terraform: resource"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
* <code>[[gitlab_deploy_token]]</code> | * <code>[[gitlab_deploy_token]]</code> | ||
* <code>[[terraform show (grep resource)]]</code> | * <code>[[terraform show (grep resource)]]</code> | ||
− | * <code>[[~]]</code> | + | * <code>[[~]], [[versions.tf]]</code> |
* <code>resources = [ "*" ]</code> | * <code>resources = [ "*" ]</code> | ||
* <code>[[Error: Missing name for resource]]</code> | * <code>[[Error: Missing name for resource]]</code> |
Revision as of 13:46, 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 data sources
- Terraform provider
terraform import
gitlab_deploy_token
terraform show (grep resource)
~, versions.tf
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: