Difference between revisions of "Terraform provider: aws"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 7: Line 7:
 
   [[profile]] = "your_profile_name"
 
   [[profile]] = "your_profile_name"
 
  }
 
  }
 
  
 
  provider "aws" {
 
  provider "aws" {
Line 15: Line 14:
 
     [[role_arn]] = "arn:aws:iam::01234567890:role/role_in_account_b"
 
     [[role_arn]] = "arn:aws:iam::01234567890:role/role_in_account_b"
 
   }
 
   }
  }  
+
  }
 
 
  
 
== Resources ==
 
== Resources ==

Revision as of 04:55, 30 March 2023

Configuration examples

provider "aws" {
 version = "~> 3.38.0"
 region = "us-east-1"
 profile = "your_profile_name"
}
provider "aws" {
  region     = var.region
  version    = ">= 0.13"
  assume_role {
    role_arn = "arn:aws:iam::01234567890:role/role_in_account_b"
  }
}

Resources

Terraform IAM resources

Networking:

CloudFront

Networking

Computing:

RDS:

S3:

KMS

CloudWatch

WAF

Route53


CodeBuild

CodeDeploy

ECR

Errors

Related terms

Activities / Changelog

See also

  • https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc
  • https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appautoscaling_target
  • https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appautoscaling_policy
  • https://registry.terraform.io/search/providers?q=aws_ecs_service
  • Advertising: