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

Updated docs for User and Service Account #192

Closed
wants to merge 3 commits into from
Closed

Conversation

jlacefie
Copy link
Collaborator

slight update to the User and Service Account Resource docs to encourage users to follow TF best practices to avoid overwriting user and service account configurations

@@ -86,7 +86,7 @@ func (r *serviceAccountResource) Metadata(_ context.Context, req resource.Metada

func (r *serviceAccountResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Provisions a Temporal Cloud Service Account.",
Description: "Provisions a Temporal Cloud Service Account. To avoid overwriting service account permissions, manage a specific service account in one and only one .tf file. ",
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this is necessary to say here, it seems as though this is an invalid way to use Terraform altogether

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TY for the input. The reason this was provided is that users were attempting to do this, which led to the underlying issue - #119

IIRC, we agreed to update our docs and the TF docs to make this recommendation explicitly

@jlacefie
Copy link
Collaborator Author

jlacefie commented Dec 3, 2024

Closing - guidance is provided in the Temporal docs.

@jlacefie jlacefie closed this Dec 3, 2024
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.

2 participants