Terraform AWS Provider: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
=Concepts= | =Concepts= | ||
==Authentication== | ==Authentication== | ||
{{External|https://www.terraform.io/docs/providers/aws/index.html#authentication}} | {{External|[https://www.terraform.io/docs/providers/aws/index.html#authentication AWS Provider Authentication]}} | ||
===Using AWS Service Roles for EC2 Instances and Instance Profile=== | ===Using AWS Service Roles for EC2 Instances and Instance Profile=== |
Revision as of 18:03, 19 November 2019
External
- https://www.terraform.io/docs/providers/aws/index.html
- https://learn.hashicorp.com/terraform/getting-started/build#configuration
Internal
Example
provider "aws" {
profile = "default"
region = "us-west-2"
}
resource "aws_instance" "terraform-test-01" {
ami = "ami-06faba49dddaecfb6"
instance_type = "m5.4xlarge"
}
Concepts
Authentication
Using AWS Service Roles for EC2 Instances and Instance Profile
AWS Service Role for an EC2 Instance, Instance Profile.