Skip to content

Commit

Permalink
Fix fmt for examples (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
snovikov authored Oct 17, 2022
1 parent 7e7db77 commit ae45ef7
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 35 deletions.
44 changes: 22 additions & 22 deletions examples/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ module "ms_sample_iam" {
#iam_role_principals_arns = ["arn:aws:iam::12374567890:root"]

iam_inline_policies = [
{
name = "s3-access"
statements = [
{
actions = ["s3:ListBucket"]
resources = ["arn:aws:s3:::test"]
},
{
actions = ["s3:get*"]
resources = ["arn:aws:s3:::test/*"]
}
]
},
{
name = "kinesis-full-access"
statements = [
{
actions = ["kinesis:*"]
resources = ["*"]
},
]
}
{
name = "s3-access"
statements = [
{
actions = ["s3:ListBucket"]
resources = ["arn:aws:s3:::test"]
},
{
actions = ["s3:get*"]
resources = ["arn:aws:s3:::test/*"]
}
]
},
{
name = "kinesis-full-access"
statements = [
{
actions = ["kinesis:*"]
resources = ["*"]
},
]
}
]

tags = {
Expand Down
2 changes: 1 addition & 1 deletion examples/iam/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-central-1"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/rds/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ output "ms_sample_rds_rds_this_db_instance_username" {
}

output "ms_sample_rds_rds_this_db_instance_password" {
value = module.ms_sample_rds.rds_this_db_instance_password
value = module.ms_sample_rds.rds_this_db_instance_password
sensitive = true
}

Expand Down
2 changes: 1 addition & 1 deletion examples/rds/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-central-1"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/redis/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-central-1"
region = "eu-central-1"
}
12 changes: 6 additions & 6 deletions examples/s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ module "ms_sample_s3" {

s3_lifecycle_rules = [
{
id = "all-cleanup"
status = "Enabled"
prefix = ""
id = "all-cleanup"
status = "Enabled"
prefix = ""
expiration_days = 90
},
{
id = "tmp"
status = "Enabled"
prefix = "tmp/"
id = "tmp"
status = "Enabled"
prefix = "tmp/"
expiration_days = 1
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/s3/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-central-1"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/sqs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module "ms_sample_sqs" {
# This module re-uses an implementation of the module https://github.com/cloudposse/terraform-aws-sqs
# -------------------------------------------------------------------------------------------------
# `sqs_enabled` is set to true to enable SQS
sqs1_enabled = true
sqs1_enabled = true

tags = {
Name = "sample"
Expand Down
2 changes: 1 addition & 1 deletion examples/sqs/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-central-1"
region = "eu-central-1"
}

0 comments on commit ae45ef7

Please sign in to comment.