docs(devpromps): fix typo in TerraformPrompt.md and add note to avoid editing generated provider code

This commit is contained in:
Nawaz Dhandala 2025-10-29 16:24:51 +00:00
parent 65c4998048
commit d0de004498
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA

View file

@ -4,7 +4,7 @@ We have a terraform provider for OneUptime that can be generated by running the
npm run generate-and-install-terraform-provider-locally
```
Once the provider is generated, it will be installed locally. You can test it in TerraformTest directory. If the TerraformTest directory ahs existing state files, please delete it and run "terraform init" again.
Once the provider is generated, it will be installed locally. You can test it in TerraformTest directory. If the TerraformTest directory has existing state files, please delete it and run "terraform init" again.
When running terraform apply, please ensure you have added the -auto-approve flag to avoid manual approval prompts. The command should look like this:
@ -12,4 +12,6 @@ When editing terraform files, please do not edit API key or oneuptime_url variab
Now, please fix this in terraform provider:
<PROMPT>
<PROMPT>
For any fixes, please do not fix the provider code directly as this is generated code. Please fix the code where the provider is generatd.