
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc

resource "aws_vpc" "user07-vpc" {
cidr_block = var.cidr_block
tags = {
Name = "user07-vpc"
}
}
variable "region" {
type = string
default = "ap-northeast-2"
}
variable "cidr_block" {
type = string
default = "10.7.0.0/16"
}
# terraform {
# required_providers {
# aws = {
# source = "hashicorp/aws"
# version = "6.13.0"
# }
# }
# }
provider "aws" {
region = var.region
}

