Skip to content

Conversation

priteau
Copy link
Member

@priteau priteau commented Feb 17, 2025

Fetch authentication scope to retrieve the current project ID and use it for security groups. This makes it possible to apply OpenTofu using the admin role, which can be necessary for mapping instances to specific bare metal nodes.

@priteau priteau self-assigned this Feb 17, 2025
@priteau priteau requested a review from a team as a code owner February 17, 2025 20:48
Fetch authentication scope to retrieve the current project ID and use it
for security groups. This makes it possible to apply OpenTofu using the
admin role, which can be necessary for mapping instances to specific
bare metal nodes.
Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

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

I still think we should avoid using role:admin creds for automation like this, but if this gets us out of a problem, lets add this in.

@sjpb sjpb merged commit 3219034 into main Mar 5, 2025
2 checks passed
@sjpb sjpb deleted the tofu-admin branch March 5, 2025 09:15
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