Skip to content

Commit 1f09391

Browse files
committed
removed variables
1 parent 445d92a commit 1f09391

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

infra/environments/dev/backend.tf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ provider "aws" {
3939

4040

4141

42-
# This module allows you to create a Github OIDC provider for your AWS account, that will help Github Actions to securely authenticate against the AWS API using an IAM role
43-
# OIDC Provider for GitHub Actions
4442
resource "aws_iam_openid_connect_provider" "github" {
4543
url = "https://token.actions.githubusercontent.com"
4644

@@ -56,7 +54,6 @@ resource "aws_iam_openid_connect_provider" "github" {
5654
}
5755
}
5856

59-
# IAM Role for GitHub Actions
6057
resource "aws_iam_role" "github_actions" {
6158
name = "${var.project_name}-github-actions-role"
6259

@@ -87,7 +84,7 @@ resource "aws_iam_role" "github_actions" {
8784
}
8885
}
8986

90-
# IAM Policy for GitHub Actions
87+
9188
resource "aws_iam_policy" "github_actions" {
9289
name = "${var.project_name}-github-actions-policy"
9390
description = "Policy for GitHub Actions to manage infrastructure"

infra/modules/database/variables.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ variable "private_subnet_ids" {
1616
type = list(string)
1717
}
1818

19-
# variable "database_name" {
20-
# type = string
21-
# }
22-
2319
variable "master_username" {
2420
type = string
2521
default = "sqladmin"
@@ -36,7 +32,4 @@ variable "instance_class" {
3632
default = "db.t3.medium"
3733
}
3834

39-
# variable "security_groups" {
40-
# type = list(string)
41-
# }
4235

0 commit comments

Comments
 (0)