-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 OIDC: Script to configure EC2 Auto Discover with SSM #41053
AWS OIDC: Script to configure EC2 Auto Discover with SSM #41053
Conversation
5c85902
to
d78d7e2
Compare
a909ae6
to
1b18d51
Compare
@EdwardDowling @hugoShaka Can you please take a look? |
1b18d51
to
9ab8508
Compare
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.
LGTM, my only optional nit would be to have a flag or something so the configure
command does not fail and force-update the SSM document. The user could just delete it, but having a --force
or --replace
would provide a simple upgrade path if we need, and make the command idempotent.
I think we can add that later if we ever change the script. |
There's a new teleport command that adds an inline policy which enables the AWS OIDC Integration to handle EC2 Auto Discover using the script mode (SSM). It also adds the SSM Document used in the teleport installation. There's also a new endpoint which returns the one off script that uses that command.
Co-authored-by: Edward Dowling <[email protected]>
e9c83a5
to
1342dd7
Compare
@marcoandredinis See the table below for backport results.
|
* AWS OIDC: Script to configure EC2 Auto Discover with SSM There's a new teleport command that adds an inline policy which enables the AWS OIDC Integration to handle EC2 Auto Discover using the script mode (SSM). It also adds the SSM Document used in the teleport installation. There's also a new endpoint which returns the one off script that uses that command. * Update lib/integrations/awsoidc/ec2_ssm_iam_config.go Co-authored-by: Edward Dowling <[email protected]> --------- Co-authored-by: Edward Dowling <[email protected]>
…1393) * AWS OIDC: Script to configure EC2 Auto Discover with SSM There's a new teleport command that adds an inline policy which enables the AWS OIDC Integration to handle EC2 Auto Discover using the script mode (SSM). It also adds the SSM Document used in the teleport installation. There's also a new endpoint which returns the one off script that uses that command. * Update lib/integrations/awsoidc/ec2_ssm_iam_config.go --------- Co-authored-by: Edward Dowling <[email protected]>
There's a new teleport command that adds an inline policy which enables the AWS OIDC Integration to handle EC2 Auto Discover using the script mode (SSM).
It also adds the SSM Document used in the teleport installation.
There's also a new endpoint which returns the one off script that uses that command.
Demo: