Difference between revisions of "Terraform resource: aws ebs volume"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume | ||
− | |||
− | |||
− | |||
− | |||
− | + | resource "aws_ebs_volume" "example" { | |
− | + | availability_zone = "us-west-2a" | |
− | + | [[size]] = 40 | |
− | } | + | |
− | + | tags = { | |
+ | Name = "HelloWorld" | ||
+ | } | ||
+ | } | ||
Revision as of 10:06, 8 February 2023
resource "aws_ebs_volume" "example" { availability_zone = "us-west-2a" size = 40 tags = { Name = "HelloWorld" } }
See also
aws ec2 [ describe-volumes | create-volume | modify-volume | detach-volume ]
- Terraform AWS: provider, resources, modules, data sources, VPC, IAM, Net, EC2, S3, Route53, ACM, CloudWatch, SES, RDS, ECS,
awscc, autoscaling, EKS
Advertising: