Difference between revisions of "Terraform: resource"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
* <code>[[terraform plan]]</code> | * <code>[[terraform plan]]</code> | ||
* <code>[[terraform import]]</code> | * <code>[[terraform import]]</code> | ||
+ | * <code>[[gitlab_deploy_token]]</code> | ||
== See also == | == See also == |
Revision as of 13:07, 29 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
- Terraform resources, Terraform providers, Terraform provisioner,
random_password, random_string, null_resource
Advertising: