Skip to content

Use the regions in specified in the teleport config instead of the environment for discovery bootstrap#31401

Merged
lxea merged 1 commit intomasterfrom
lxea/fix-discovery-bootstrap-region
Sep 11, 2023
Merged

Use the regions in specified in the teleport config instead of the environment for discovery bootstrap#31401
lxea merged 1 commit intomasterfrom
lxea/fix-discovery-bootstrap-region

Conversation

@lxea
Copy link
Copy Markdown
Contributor

@lxea lxea commented Sep 4, 2023

Fixes a MIssingRegion error that would sometimes occur when running the discovery bootstrap command

❌[AWS] Create SSM Document "TeleportDiscoveryInstaller"... failed.
Failure reason: MissingRegion: could not find region configuration
ERROR: bootstrap failed to execute, check logs above to see the cause

@lxea lxea force-pushed the lxea/fix-discovery-bootstrap-region branch from 2b18ee7 to 6fbaf8b Compare September 4, 2023 11:16
@marcoandredinis
Copy link
Copy Markdown
Contributor

I just tested this and it now works:

$ teleport discovery bootstrap --config teleport.yaml --attach-to-role MarcoAutoRoleForDiscoveryBootstrap --policy-name MarcoTestEC2DiscoveryBootstrap
Reading configuration at "teleport.yaml"...
......

Confirm? [y/N]: y
✅[AWS] Create IAM Policy "MarcoTestEC2DiscoveryBootstrap"... done.
✅[AWS] Create IAM Policy "MarcoTestEC2DiscoveryBootstrapBoundary"... done.
✅[AWS] Attach IAM policies to "MarcoAutoRoleForDiscoveryBootstrap"... done.
✅[AWS] Create SSM Document "MarcoTeleportDiscoverySSMDocInstaller"... done.

@lxea
Copy link
Copy Markdown
Contributor Author

lxea commented Sep 7, 2023

friendly ping when you get the chance @xacrimon @strideynet

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from xacrimon September 11, 2023 08:24
@lxea lxea added this pull request to the merge queue Sep 11, 2023
Merged via the queue into master with commit 14bb76b Sep 11, 2023
@lxea lxea deleted the lxea/fix-discovery-bootstrap-region branch September 11, 2023 11:03
@public-teleport-github-review-bot
Copy link
Copy Markdown

@lxea See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants