You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/pre-work-template-devops-security.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,8 @@ As a new member on the HfLA devops-security team, fill in the following fields a
37
37
-[ ] Complete the instruction in [AWS Documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-short-term.html) to setup the AWS CLI.
38
38
-[ ] Read follow the instructions in [Creating a backend state](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#creating-backend-state).
39
39
-[ ] Install Terraform locally by following the instructions of the installation guide mentioned in [Installing Terraform](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#installing-terraform)
40
-
-[ ] Install Terraform Docs locally by following the instructions of the installation guide mentiond in [Installing Terrafrom docs](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#installing-terraform-docs)
41
-
-[ ] Complete the instructions in [Fork the repository](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#fork-the-repository) and [Clone (Create) a copy on your computer](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#clone-create-a-copy-on-your-computer)
42
-
-[ ] In your code editor navigate to `terraform` directory.
43
-
-[ ] Execute the command `terraform plan` this will output a plan replicating the same IAM resources as the devops security account.
44
-
-[ ] Then execute the command `terraform apply` this will create all of the resources that are currently managed by Devops Security. All of the resources created here incur zero cost except for the Dynamo DB installation, which should remain in the free tier.
45
-
- []** If you have cost concerns, Run a Terraform Destroy to take down all of the resources you created (don't worry, you can recreate them just as quickly). **
40
+
-[ ] Install Terraform Docs locally by following the instructions of the installation guide mentioned in [Installing Terraform docs](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#installing-terraform-docs)
41
+
-[ ] Complete the instructions in [Clone the repository](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#clone-the-repository)
46
42
-[ ] Submit a [new request](https://github.com/hackforla/devops-security/issues/new?assignees=&labels=enhancement&projects=&template=request-aws-iam-resources.yml) to create new AWS user account and then self-assign this issue.
47
43
-[ ] Create a new branch from main by executing the command
48
44
@@ -66,9 +62,13 @@ As a new member on the HfLA devops-security team, fill in the following fields a
66
62
}
67
63
68
64
```
69
-
- [ ] Stage changes in git with
65
+
- [ ] In your code editor navigate to `terraform` directory. `cd terraform`
66
+
- [ ] Execute the command`terraform init` to initialize terraform in the directory. Address any failures that arise (if any).
67
+
- [ ] Execute the command`terraform plan` this will output a plan replicating the same IAM resources as the devops security account. Address any failures that arise (if any).
68
+
- [ ] Then execute the command`terraform apply` this will create all of the resources that are currently managed by Devops Security. All of the resources created here incur zero cost except forthe Dynamo DB installation, which should remainin the free tier.
69
+
- [ ] ** If you have cost concerns, Run a Terraform Destroy to take down all of the resources you created (don't worry, you can recreate them just as quickly). **
70
+
- [ ] Once you have tested your changes, stage them in git with
70
71
- [ ] `git status` command.
71
72
- [ ] then `git add path/to/file` (you can copy from above output for the file path).
72
73
- [ ] Commit the changes by executing `git commit -m "briefly describing the changes"`.
73
74
- [ ] Push the changes with `git push --set-upstream origin name-of-branch`
-[**What if you accidentally cloned using the repository URL from the HackForLA Github (instead of the fork on your Github)?**](#what-if-you-accidentally-cloned-using-the-repository-url-from-the-hackforla-github-instead-of-the-fork-on-your-github)
-[**ii. Add an `upstream` remote**](#ii-add-an-upstream-remote)
34
29
-[**Create a new branch where you will work on your issue**](#create-a-new-branch-where-you-will-work-on-your-issue)
35
30
-[**Terraform Setup and Execution Instructions**](#terraform-setup-and-execution-instructions)
36
31
-[**Submitting changes via git and opening a PR**](#submitting-changes-via-git-and-opening-a-pr)
@@ -165,29 +160,7 @@ Follow the Terraform docs [installation guide](https://terraform-docs.io/user-gu
165
160
<sub>[Back to Table of Contents](#table-of-contents)</sub>
166
161
***
167
162
168
-
## **Fork the repository**
169
-
170
-
Fork the hackforla/devops-security repository by clicking <a href="https://github.com/hackforla/devops-security/fork"><button><img src="https://user-images.githubusercontent.com/17777237/54873012-40fa5b00-4dd6-11e9-98e0-cc436426c720.png" width="8px"> Fork</button></a>
171
-
. A fork is a copy of the repository that will be placed on your GitHub account.
172
-
173
-
<details>
174
-
<summary><strong>Click here</strong> to see a visual example of the `fork` button within the devops-security repo</summary>
175
-
<p><strong>First, you find the `fork` button on the top right hand side of the [Hack for LA devops-security repo](https://github.com/hackforla/devops-security)</strong></h4>
<p><strong>Next, a modal may open and request where you want to fork this devops-security repo. Please click on your avatar or your GitHub username</strong></p>
You should now have a new folder in your `hackforla` folder called `devops-security`. Verify this by changing into the new directory:
@@ -216,49 +184,6 @@ You should now have a new folder in your `hackforla` folder called `devops-secur
216
184
cd devops-security
217
185
```
218
186
219
-
#### **Verify `origin` remote url**
220
-
221
-
Verify that your local cloned repository is pointing to the correct `origin` URL (that is, the forked repo on your own Github account):
222
-
```bash
223
-
git remote -v
224
-
```
225
-
You should see `fetch` and `push` URLs with links to your forked repository under your account (i.e. `https://github.com/<your_GitHub_user_name>/devops-security.git`). You are all set to make working changes to the devops-security on your local machine.
226
-
227
-
However, we still need a way to keep our local repo up to date with the deployed devops-security. To do so, you must add an upstream remote to incorporate changes made while you are working on your local repo. Run the following to add an upstream remote URL & update your local repo with recent changes to the `hackforla` version:
0 commit comments