Created
December 7, 2018 22:56
-
-
Save msato0731/a135052ff45565f7528be914e332e013 to your computer and use it in GitHub Desktop.
terraform 入門
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "access_key" {} | |
variable "secret_key" {} | |
variable "region" {} | |
provider "aws" { | |
access_key = "${var.access_key}" | |
secret_key = "${var.secret_key}" | |
region = "${var.region}" | |
} | |
resource "aws_vpc" "myvpc" { | |
cidr_block = "10.0.0.0/16" | |
tags { | |
Name = "myvpc" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment