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 — Fix the kubernetes admin role, pull some of the iam stuff out into a … by bmonkman · Pull Request #23 · commitdev/zero-aws-eks-stack

Conversation

@bmonkman

@bmonkman bmonkman commented Apr 27, 2020

Copy link
Copy Markdown
Contributor

…separate tf file

Sorry, something went wrong.

Uh oh!

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

All reactions
@bmonkman
Fix the kubernetes admin role, pull some of the iam stuff out into a …
c615a2d
…separate tf file
@bmonkman
bmonkman requested a review from davidcheung April 27, 2020 22:17
@bmonkman
Add s3 permissions to ci user. Also reference cert validations when c…
b01913f
…reating the cloudfront dist so it becomes a true dependency to prevent a race condition.
@bmonkman
bmonkman requested a review from Direside April 27, 2020 23:49
davidcheung
davidcheung reviewed Apr 28, 2020
View reviewed changes
Comment thread terraform/modules/s3_hosting/main.tf
}

# Reference the cert validations only so it becomes a dependency
tags = {

@davidcheung davidcheung Apr 28, 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, didnt know you could do that

Sorry, something went wrong.

Uh oh!

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

All reactions

@bmonkman bmonkman Apr 28, 2020

Copy link
Copy Markdown
Contributor Author

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.

TF builds a big dependency graph so it can decide what can be run in parallel and what needs to be serial. The problem here though is just that it's too smart. I thought just by providing the validations resource as an argument to this module it would create a dependency, but it looks like we actually have to use it inside the module too.

Sorry, something went wrong.

Uh oh!

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

All reactions
davidcheung
davidcheung approved these changes Apr 28, 2020
View reviewed changes
davidcheung
davidcheung reviewed Apr 28, 2020
View reviewed changes
Comment thread terraform/modules/environment/iam.tf

principals {
type = "AWS"
identifiers = [data.aws_iam_user.ci_user.arn]

@davidcheung davidcheung Apr 28, 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.

it can access the ci_user from the main file right?

Sorry, something went wrong.

Uh oh!

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

All reactions

@bmonkman bmonkman Apr 28, 2020

Copy link
Copy Markdown
Contributor Author

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.

Yes, since they are in the same directory. Though it looks like I forgot to remove something from main that I copied over. Thanks!

Sorry, something went wrong.

Uh oh!

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

All reactions
@bmonkman
Forgot to remove a couple resources that were moved to iam.tf
5d45051
@bmonkman
bmonkman merged commit 62c693f into master Apr 28, 2020
@bmonkman
bmonkman deleted the fix-kube-admin-role branch April 28, 2020 00:20
bmonkman added a commit that referenced this pull request Oct 10, 2020
@bmonkman
Merge pull request #23 from commitdev/fix-kube-admin-role
e79ee41
Fix the kubernetes admin role, pull some of the iam stuff out into a …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

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

Uh oh!

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

Assignees

No one assigned

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

@bmonkman @davidcheung
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.