Terraform AWS Provider

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

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

AWS Provider Authentication

Using AWS Service Roles for EC2 Instances and Instance Profile

EC2 Role

AWS Service Role for an EC2 Instance, Instance Profile.

Operations

Terraform AWS Operations