Difference between revisions of "Terraform resource: aws vpc"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc | ||
+ | |||
+ | == Official example == | ||
+ | resource "aws_vpc" "main" { | ||
+ | cidr_block = "10.0.0.0/16" | ||
+ | } | ||
== Argument == | == Argument == | ||
Line 14: | Line 19: | ||
* [[Terraform module: vpc]] | * [[Terraform module: vpc]] | ||
* [[Warning: Argument is deprecated]] | * [[Warning: Argument is deprecated]] | ||
+ | * <code>[[aws_vpc_endpoint]]</code> | ||
+ | * <code>[[aws ec2 create-vpc]]</code> | ||
− | ==See also== | + | == See also == |
* {{aws_vpc}} | * {{aws_vpc}} | ||
* {{terraform aws resources}} | * {{terraform aws resources}} |
Latest revision as of 12:16, 20 October 2023
Official example[edit]
resource "aws_vpc" "main" { cidr_block = "10.0.0.0/16" }
Argument[edit]
Related terms[edit]
- AWS CLI:
aws ec2 create-vpc
aws_internet_gateway
- Terraform resource: aws_db_subnet_group
- Terraform data source:
aws_vpc
aws_instance
- Terraform module: vpc
- Warning: Argument is deprecated
aws_vpc_endpoint
aws ec2 create-vpc
See also[edit]
Advertising: