Create an EC2 Instance with Terraform: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Amazon EC2 Operations * Terraform AWS Operations") |
No edit summary |
||
Line 2: | Line 2: | ||
* [[Amazon_EC2_Operations#Create_an_EC2_Instance_with_Terraform|Amazon EC2 Operations]] | * [[Amazon_EC2_Operations#Create_an_EC2_Instance_with_Terraform|Amazon EC2 Operations]] | ||
* [[Terraform AWS Operations#Create_an_EC2_Instance|Terraform AWS Operations]] | * [[Terraform AWS Operations#Create_an_EC2_Instance|Terraform AWS Operations]] | ||
=Configuration= | |||
<syntaxhighlight lang='text'> | |||
provider "aws" { | |||
profile = "default" | |||
region = "us-west-2" | |||
} | |||
resource "aws_instance" "terraform-test-01" { | |||
ami = "ami-a6faba49dddaecfb7" | |||
instance_type = "m5.4xlarge" | |||
} | |||
</syntaxhighlight> |
Revision as of 21:13, 13 November 2019
Internal
Configuration
provider "aws" {
profile = "default"
region = "us-west-2"
}
resource "aws_instance" "terraform-test-01" {
ami = "ami-a6faba49dddaecfb7"
instance_type = "m5.4xlarge"
}