We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e18789 commit f0ef9c6Copy full SHA for f0ef9c6
main.tf
@@ -1,3 +1,7 @@
1
+provider "aws" {
2
+ region = var.region
3
+}
4
+
5
resource "aws_ecr_repository" "ecr_repo" {
6
name = var.name
7
image_tag_mutability = "MUTABLE"
variables.tf
@@ -7,3 +7,10 @@ variable "allowed_arns" {
type = list(string)
8
description = "The list of IAM user arns that are allowed to push and pull to and from the repository"
9
}
10
11
+variable "region" {
12
+ type = string
13
+ default = "us-west-2"
14
+ description = "Define the region you'd wish the cloudtrail resources to be created in, example: us-west-2"
15
16
0 commit comments