16 lines
295 B
Plaintext
16 lines
295 B
Plaintext
provider "aws" {
|
|
access_key = "a"
|
|
region = "us-east-1"
|
|
}
|
|
|
|
resource "aws_instance" "foo" {
|
|
ami = "ami-foo"
|
|
instance_type = "t2.micro"
|
|
security_groups = "${aws_security_group.foo.name}"
|
|
}
|
|
|
|
resource "aws_secutyri_group" "foo" {
|
|
name = "foobar"
|
|
description = "foobar"
|
|
}
|