GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add new user - more commits with modules by sshi100 · Pull Request #99 · commitdev/zero-aws-eks-stack

Conversation

@sshi100

@sshi100 sshi100 commented Sep 18, 2020

Copy link
Copy Markdown
Contributor

Together with commitdev/terraform-aws-zero#6

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sshi100
initial commit, need check together with terraform-zero-modules/iam_u…
6730401
…sers
@sshi100
sshi100 requested review from bmonkman and davidcheung September 18, 2020 00:40
sshi100 added 2 commits September 17, 2020 20:20
@sshi100
fix with review
c55e477
@sshi100
enhancement with map structure
362b626
bmonkman
bmonkman reviewed Sep 18, 2020
View reviewed changes
Comment thread templates/terraform/environments/prod/user_access.tf Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sshi100
enhancement with user group for AWS access
ffe2a67
@sshi100 sshi100 changed the title initial commit, need check together with terraform-zero-modules/iam_u… initial commit with modules Sep 18, 2020
@sshi100
fix with template
aa95690
@sshi100 sshi100 mentioned this pull request Sep 18, 2020
Cloud security (add new team member) commitdev/zero#223
Closed
sshi100 added 2 commits September 23, 2020 15:34
@sshi100
Merge remote-tracking branch 'origin/main' into 223-security-add-new-…
040b7c7
…member
@sshi100
enhancements with shared state and k8s rules etc.
19b6e6d
@sshi100 sshi100 changed the title initial commit with modules add new user - more commits with modules Sep 23, 2020
bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/Makefile Resolved

Uh oh!

There was an error while loading. Please reload this page.

bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/environments/prod/user_access.tf Resolved

Uh oh!

There was an error while loading. Please reload this page.

bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/environments/prod/user_access.tf
@@ -0,0 +1,111 @@
# define AWS policy documents for developer
data "aws_iam_policy_document" "developer_access" {

@bmonkman bmonkman Sep 24, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point we will want to revisit these policies, add stuff like enforcing MFA, etc. but this should be fine for now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sshi100 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/modules/environment/main.tf
name = u.name
roles = [
for r in u.roles :
r.name if contains(local.role_name_list, r.name) && contains(r.environments, var.environment)

@bmonkman bmonkman Sep 24, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, much cleaner now!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sshi100 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/modules/environment/main.tf Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sshi100
refined modules-environemnt-root parameters etc. after review
210b0ca
bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/environments/prod/user_access.tf Resolved

Uh oh!

There was an error while loading. Please reload this page.

bmonkman
bmonkman reviewed Sep 24, 2020
View reviewed changes
Comment thread templates/terraform/environments/shared/main.tf Resolved

Uh oh!

There was an error while loading. Please reload this page.

bmonkman and others added 7 commits September 24, 2020 10:19
@bmonkman
Tweaked documentation a bit
5c75996
@sshi100
remove unnecessary templating and use variables
c3cbbd9
@sshi100
replace space with tab
e40810b
@sshi100
typo fix
64df991
@sshi100
recover templating for terraform block
660a6fe
@sshi100
typo comment fix
ce1da1b
@sshi100
use remote modules and fixes
e06db8c
bmonkman
bmonkman reviewed Sep 25, 2020
View reviewed changes
Comment thread templates/terraform/environments/stage/main.tf

# EKS-Optimized AMI for your region: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
# https://<% index .Params `region` %>.console.aws.amazon.com/systems-manager/parameters/%252Faws%252Fservice%252Feks%252Foptimized-ami%252F1.17%252Famazon-linux-2%252Frecommended%252Fimage_id/description?region=<% index .Params `region` %>
# https://${local.region}.console.aws.amazon.com/systems-manager/parameters/%252Faws%252Fservice%252Feks%252Foptimized-ami%252F1.17%252Famazon-linux-2%252Frecommended%252Fimage_id/description?region=${local.region}

@bmonkman bmonkman Sep 25, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be templated in, it's in a comment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bmonkman
bmonkman reviewed Sep 25, 2020
View reviewed changes
Comment thread templates/terraform/modules/environment/main.tf
module "eks" {
source = "commitdev/zero/aws//modules/eks"
version = "0.0.2"
version = "0.1.2"

@bmonkman bmonkman Sep 25, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please bump db and logging up to 0.1.2 as well?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bmonkman
bmonkman approved these changes Sep 25, 2020
View reviewed changes
sshi100 added 3 commits September 25, 2020 00:43
@sshi100
added tearndown steps for shared env
0ca6c45
@sshi100
refer to newer versions of modules
75e2f49
@sshi100
add shared-remote-state generation
f731f2b
@sshi100
sshi100 merged commit e2625c5 into main Sep 25, 2020
@sshi100
sshi100 deleted the 223-security-add-new-member branch September 25, 2020 18:47
bmonkman added a commit that referenced this pull request Oct 10, 2020
@sshi100 @bmonkman
add new user - more commits with modules (#99)
5a75029
* initial commit, need check together with terraform-zero-modules/iam_users

* fix with review

* enhancement with map structure

* enhancement with user group for AWS access

* fix with template

* enhancements with shared state and k8s rules etc.

* refined modules-environemnt-root parameters etc. after review

* Tweaked documentation a bit

* remove unnecessary templating and use variables

* replace space with tab

* typo fix

* recover templating for terraform block

* typo comment fix

* use remote modules and fixes

* added tearndown steps for shared env

* refer to newer versions of modules

* add shared-remote-state generation

Co-authored-by: Bill Monkman <[email protected]>
@sshi100 sshi100 self-assigned this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@davidcheung davidcheung Awaiting requested review from davidcheung
1 more reviewer
@bmonkman bmonkman bmonkman approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sshi100 sshi100

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@sshi100 @bmonkman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.