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

Cloud: Optimize Cloud SA operations #1356

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

julienduchesne
Copy link
Member

Currently, the cloud_stack_(service_account|api_key) resources create a temporary service account for all operations (The cloud API doesn't proxy the full CRUD)

However, for operations like Create and Update, two SAs are created because it's customary to read after write in TF

This PR changes the logic so that we only one temporary key is created

Currently, the `cloud_stack_(service_account|api_key)` resources create a temporary service account for all operations (The cloud API doesn't proxy the full CRUD)
However, for operations like Create and Update, two SAs are created because it's customary to read after write in TF

This PR changes the logic so that we only one temporary key is created
@julienduchesne julienduchesne requested a review from a team as a code owner February 16, 2024 18:22
@julienduchesne julienduchesne requested a review from a team February 16, 2024 18:22
Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@julienduchesne julienduchesne merged commit 7bd9ba7 into main Feb 23, 2024
24 checks passed
@julienduchesne julienduchesne deleted the julienduchesne/optimize-sa-operations branch February 23, 2024 15:05
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.

None yet

2 participants