diff --git a/.gitignore b/.gitignore index 78dcda932f31..3680661571d2 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,5 @@ tf.zip # do not upload secrets .env +tmp/ + diff --git a/cmd/debug/readme.md b/cmd/debug/readme.md index 2e268296cb29..943688ef6b9b 100644 --- a/cmd/debug/readme.md +++ b/cmd/debug/readme.md @@ -38,8 +38,7 @@ Attach vs code to the debug session. # Terminal 2 -export the CLI config with: - +create a file `terraformrc` with the following content: ``` provider_installation { dev_overrides { @@ -48,10 +47,8 @@ provider_installation { } ``` -TODO: this is not still working!!!! - ```sh export TF_CLI_CONFIG_FILE=/Users/ricardol/git/terraform-provider-azurerm/tmp/ex1/terraformrc export TF_REATTACH_PROVIDERS=.... -``` \ No newline at end of file +``` diff --git a/internal/services/mysql/mysql_configuration_set_resource.go b/internal/services/mysql/mysql_configuration_set_resource.go index 282a791f4e60..29f240b58b65 100644 --- a/internal/services/mysql/mysql_configuration_set_resource.go +++ b/internal/services/mysql/mysql_configuration_set_resource.go @@ -21,6 +21,7 @@ import ( func resourceMySQLConfigurationSet() *pluginsdk.Resource { return &pluginsdk.Resource{ Create: resourceMySQLConfigurationSetCreate, + Update: resourceMySQLConfigurationSetCreate, Read: resourceMySQLConfigurationSetRead, Delete: resourceMySQLConfigurationSetDelete, diff --git a/internal/services/postgres/postgresql_configuration_set_resource.go b/internal/services/postgres/postgresql_configuration_set_resource.go index e9aecfd777ee..1f9f22e1184a 100644 --- a/internal/services/postgres/postgresql_configuration_set_resource.go +++ b/internal/services/postgres/postgresql_configuration_set_resource.go @@ -21,6 +21,7 @@ import ( func resourcePostgreSQLConfigurationSet() *pluginsdk.Resource { return &pluginsdk.Resource{ Create: resourcePostgreSQLConfigurationSetCreateUpdate, + Update: resourcePostgreSQLConfigurationSetCreateUpdate, Read: resourcePostgreSQLConfigurationSetRead, Delete: resourcePostgreSQLConfigurationSetDelete, Importer: pluginsdk.ImporterValidatingResourceId(func(id string) error {