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

Fixed AWS 'teleport-generate-config' script when IMDSv2 is used #13417

Merged
merged 13 commits into from
Jun 15, 2022

Conversation

fheinecke
Copy link
Contributor

When using v2 of the EC2 metadata service to populate the /etc/teleport.yaml file requests fail due to an incorrectly formatted curl argument. This fixes the issue.

In Terraform parlance this occurs when the below is set on EC2 instance:

metadata_options {
   http_endpoint = "enabled"
   http_tokens   = "required"
}

Related issue: #10962

@fheinecke fheinecke enabled auto-merge (squash) June 14, 2022 15:30
@fheinecke fheinecke merged commit b1b3e94 into master Jun 15, 2022
@zmb3 zmb3 deleted the fred/10962-fix branch April 26, 2023 21:32
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.

3 participants