Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws iam console access2 #669

Merged
merged 5 commits into from
Sep 25, 2023

Conversation

arcegacardenas
Copy link
Contributor

@arcegacardenas arcegacardenas commented Sep 12, 2023

What this PR does / why we need it:

Which issue(s) this PR fixes:

It will grant access to the EKS through the AWS console when the user launched the cluster through Cloud9.

Fixes #620

Quality checks

  • My content adheres to the style guidelines
  • I ran make test or make e2e-test and it was successful

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ion of the container

- Added functionality to verify if C9_USER exist, it will grant access to the EKS via WS Console Access
@netlify
Copy link

netlify bot commented Sep 12, 2023

Deploy Preview for eks-workshop ready!

Name Link
🔨 Latest commit 4fa4a62
🔍 Latest deploy log https://app.netlify.com/sites/eks-workshop/deploys/650ca5346637060008781f75
😎 Deploy Preview https://deploy-preview-669--eks-workshop.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@arcegacardenas arcegacardenas marked this pull request as ready for review September 12, 2023 14:16
@@ -0,0 +1,118 @@
resource "kubernetes_cluster_role" "eks-console-dashboard-full-access-clusterrole" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this file still needed with the logic in use-cluster? Will it not do the same thing? Or is there something else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Forgot to delete those files. I isn't needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unnecessary files removed.

@@ -54,5 +54,5 @@ echo "Running test suite..."
$CONTAINER_CLI run $background_args \
-v $SCRIPT_DIR/../website/docs:/content \
-v $SCRIPT_DIR/../manifests:/manifests \
-e 'EKS_CLUSTER_NAME' -e 'AWS_REGION' \
-e 'EKS_CLUSTER_NAME' -e 'AWS_REGION' -e 'C9_USER' \
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this designed to cater for the code being developed in Cloud9? If I'm developing on my local laptop will this skip triggering the Cloud9 logic in the rest of the change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I needed it to emulate the C9 deployment in my local computer. But might be unnecessary, I'll do a test and remove it if it is not necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Variable removed

@niallthomson niallthomson merged commit 76b3410 into aws-samples:main Sep 25, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add/Enable AWS Console Access View to the EKS cluster for the observability workshop
2 participants