From 6fbf4e49dd14a84d8edd6ee7e5d35ed86d3ccaa4 Mon Sep 17 00:00:00 2001 From: ale210 Date: Thu, 27 Jun 2024 19:03:13 -0700 Subject: [PATCH 1/3] add iam user for alex english --- terraform/aws-users.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/terraform/aws-users.tf b/terraform/aws-users.tf index 3c5fe55..39dec74 100644 --- a/terraform/aws-users.tf +++ b/terraform/aws-users.tf @@ -139,4 +139,15 @@ module "iam_user_spiteless" { "Access Level" = "1" } user_groups = ["read-only-group"] +} + +module "iam_user_alexe" { + source = "./modules/aws-users" + + user_name = "alexe" + user_tags = { + "Project" = "devops-security" + "Access Level" = "1" + } + user_groups = ["read-only-group"] } \ No newline at end of file From 8b3eff7be5ac5dca715124c7bb264a4a0fc25928 Mon Sep 17 00:00:00 2001 From: ale210 Date: Sat, 29 Jun 2024 21:30:31 -0700 Subject: [PATCH 2/3] preview contrubuting updates --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad6fb49..bbc3fde 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,6 +24,7 @@ Below are guidelines for contributing to the devops-security repository hosted o - [**Generating Access Keys for AWS CLI**](#generating-access-keys-for-aws-cli) - [**Installing Terraform**](#installing-terraform) - [**Creating Backend State**](#creating-backend-state) + - [**Creating Local tfvars file**](#creating-local-tfvars-file) - [**Installing Terraform docs**](#installing-terraform-docs) - [**Clone (Create) a copy on your computer**](#clone-create-a-copy-on-your-computer) - [**Create a new branch where you will work on your issue**](#create-a-new-branch-where-you-will-work-on-your-issue) @@ -153,6 +154,22 @@ To facilitate AWS IAM changes using Terraform, it's essential to establish backe [Back to Table of Contents](#table-of-contents) *** +### **Creating Local tfvars file** + +Atfer creating a backend state, create a ```backend.tfvars``` file. It should have content of this format: + +```bucket = "{developer_specific}-hfla-ops-terraform-state" +key = "devops-security/terraform.tfstate" +region = "us-east-2" +dynamodb_table = "{developer_specific}_hfla_ops_terraform_table" +encrypt = true +``` + +Remeber to match these values to the ones in your backend state + +[Back to Table of Contents](#table-of-contents) +*** + ### **Installing Terraform docs** Follow the Terraform docs [installation guide](https://terraform-docs.io/user-guide/installation/) From c77f2c41c9facb22f52de6a2ed9156381646e742 Mon Sep 17 00:00:00 2001 From: ale210 Date: Sat, 29 Jun 2024 21:31:35 -0700 Subject: [PATCH 3/3] Revert "preview contrubuting updates" This reverts commit 8b3eff7be5ac5dca715124c7bb264a4a0fc25928. --- CONTRIBUTING.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bbc3fde..ad6fb49 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,6 @@ Below are guidelines for contributing to the devops-security repository hosted o - [**Generating Access Keys for AWS CLI**](#generating-access-keys-for-aws-cli) - [**Installing Terraform**](#installing-terraform) - [**Creating Backend State**](#creating-backend-state) - - [**Creating Local tfvars file**](#creating-local-tfvars-file) - [**Installing Terraform docs**](#installing-terraform-docs) - [**Clone (Create) a copy on your computer**](#clone-create-a-copy-on-your-computer) - [**Create a new branch where you will work on your issue**](#create-a-new-branch-where-you-will-work-on-your-issue) @@ -154,22 +153,6 @@ To facilitate AWS IAM changes using Terraform, it's essential to establish backe [Back to Table of Contents](#table-of-contents) *** -### **Creating Local tfvars file** - -Atfer creating a backend state, create a ```backend.tfvars``` file. It should have content of this format: - -```bucket = "{developer_specific}-hfla-ops-terraform-state" -key = "devops-security/terraform.tfstate" -region = "us-east-2" -dynamodb_table = "{developer_specific}_hfla_ops_terraform_table" -encrypt = true -``` - -Remeber to match these values to the ones in your backend state - -[Back to Table of Contents](#table-of-contents) -*** - ### **Installing Terraform docs** Follow the Terraform docs [installation guide](https://terraform-docs.io/user-guide/installation/)