Skip to content

Commit

Permalink
Remove commented-out AWS provider and GitHub token configuration; add…
Browse files Browse the repository at this point in the history
… providers.tf for AWS provider definition
  • Loading branch information
Your Name committed Sep 15, 2025
1 parent 89e2838 commit 9ca1513
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 6 additions & 9 deletions examples/basic/main.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
provider "aws" {
}

data "aws_secretsmanager_secret_version" "github_token" {
secret_id = "/eks-cluster-deployment/github_token"
}
# data "aws_secretsmanager_secret_version" "github_token" {
# secret_id = "/eks-cluster-deployment/github_token"
# }

provider "github" {
token = data.aws_secretsmanager_secret_version.github_token.secret_string
}
# provider "github" {
# token = data.aws_secretsmanager_secret_version.github_token.secret_string
# }

module "eks_deployment" {
source = "../../"
Expand Down
2 changes: 2 additions & 0 deletions examples/basic/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
provider "aws" {
}

0 comments on commit 9ca1513

Please sign in to comment.