Hi -
I’m trying to terraform the configuration (only) for a salesforce extension in our dynatrace.
I’m getting this error on terraform apply
> Error: No write access for scope class tenant
I have config (Platform token, api token) with every permission.
I’m using
<span>resource </span><span>"dynatrace_hub_extension_config" "salesforce" </span>{<br> <span>name </span>= <span>"com.dynatrace.salesforce-extension"</span><span><br></span> <span>value </span>= file(<span>"</span><span>${path.module}</span><span>/salesforce-extension.json"</span>)<br>}
And the config itself looks like
{<br> <span>"enabled"</span>: <span>true</span>,<br> <span>"description"</span>: <span>"Salesforce SIT"</span>,<br> <span>"version"</span>: <span>"2.4.7"</span>,<br> <span>"activationContext"</span>: <span>"REMOTE"</span>,<br> <span>"pythonRemote"</span>: {<br> <span>"endpoints"</span>: [<br> {<br> <span>"name"</span>: <span>"SIT"</span>,<br> <span>"login_url"</span>: <span>"other"</span>,<br> <span>"log_level"</span>: <span>"INFO"</span>,<br>... further config...
(The config was exported out of the UI)
Is there some additional permission that I need to allow access?
As an aside, I used the export feature of the terraform provider, but it didn’t seem to include the pre-existing hub configuration.