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
Resources: | |
Ec2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.micro | |
ImageId: ami-0947d2ba12ee1ff75 # Amazon Linux AMI in us-east-1 |
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
Resources: | |
Ec2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.micro | |
ImageId: ami-0947d2ba12ee1ff75 # Amazon Linux AMI in us-east-1 | |
Tags: | |
- Key: Name | |
Value: My EC2 Instance | |
- Key: Owner |
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
Resources: | |
Ec2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.micro | |
ImageId: ami-0947d2ba12ee1ff75 # Amazon Linux AMI in us-east-1 | |
KeyName: ec2-instances | |
Tags: | |
- Key: Name | |
Value: My EC2 Instance |
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
Resources: | |
Ec2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.micro | |
ImageId: ami-0947d2ba12ee1ff75 # Amazon Linux AMI in us-east-1 | |
KeyName: ec2-instances | |
Tags: | |
- Key: Name | |
Value: My EC2 Instance |
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
Resources: | |
Ec2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.micro | |
ImageId: ami-0947d2ba12ee1ff75 # Amazon Linux AMI in us-east-1 | |
KeyName: ec2-instances | |
Tags: | |
- Key: Name | |
Value: My EC2 Instance |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: Custom vpc, subnets, route table. | |
Parameters: | |
KeyName: | |
Description: EC2 KeyPair | |
Type: AWS::EC2::KeyPair::KeyName | |
Resources: | |
VPC: |
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
provider "aws" { | |
profile = "default" | |
region = "ap-southeast-2" | |
} | |
module "company_table" { | |
source = "terraform-aws-modules/dynamodb-table/aws" | |
name = "company" |