Skip to content

Commit

Permalink
fix: use limited IAM user
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Dec 4, 2023
1 parent 10ca696 commit ea6164d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
9 changes: 2 additions & 7 deletions examples/additional_nodes/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ provider "kops" {
}

provider "aws" {
skip_requesting_account_id = true
skip_credentials_validation = true
skip_metadata_api_check = true
s3_use_path_style = true
region = "eu-west-1"
access_key = "mock_access_key"
secret_key = "mock_secret_key"
s3_use_path_style = true
region = "eu-west-1"
}

terraform {
Expand Down
9 changes: 2 additions & 7 deletions examples/basic/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ provider "kops" {
}

provider "aws" {
skip_requesting_account_id = true
skip_credentials_validation = true
skip_metadata_api_check = true
s3_use_path_style = true
region = "eu-west-1"
access_key = "mock_access_key"
secret_key = "mock_secret_key"
s3_use_path_style = true
region = "eu-west-1"
}

terraform {
Expand Down
9 changes: 2 additions & 7 deletions examples/policies/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ provider "kops" {
}

provider "aws" {
skip_requesting_account_id = true
skip_credentials_validation = true
skip_metadata_api_check = true
s3_use_path_style = true
region = "eu-west-1"
access_key = "mock_access_key"
secret_key = "mock_secret_key"
s3_use_path_style = true
region = "eu-west-1"
}

terraform {
Expand Down

0 comments on commit ea6164d

Please sign in to comment.