Error setting disabled: Invalid address to set: []string{"disabled"}
See original GitHub issueWhat happened?
When applying sql user for msSQL/PostgreSQL
gcp:sql:User (dbname-users):
error: refreshing urn:pulumi:sandbox::gcp:sql/user:User::dbname-users: 1 error occurred:
* Error setting disabled: Invalid address to set: []string{"disabled"}
Code used for creating users:
import pulumi_gcp as gcp
users = gcp.sql.User(f"{args.database_name}-users",
instance = db_instance.name,
project = args.project,
name = args.db_user_name,
password = "password"
)
Issue only at refresh step, using pulumi up --stack sandbox --yes --skip-preview doesn’t result error.
providing:
sql_server_user_details=gcp.sql.UserSqlServerUserDetailsArgs(
disabled=False
)
Doesn’t resolve issue.
Steps to reproduce
Apply refresh resources for sql user
Expected Behavior
Refresh is done, resource is created
Actual Behavior
Failing to refresh with unclear error.
Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you’ve opened one already).
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Custom Terraform Provider - Invalid Address to Set
I am currently writing a custom TF provider to be used with an internal API/Service. ATM it's just a minimal single data source...
Read more >ORA-29250 to ORA-32799 - Oracle Help Center
Action: Verify that source data is a valid compressed or uncompressed data set. ORA-29295: invalid mime header tag. Cause: An error occurred while...
Read more >Settings | ClickHouse Docs
Sets the maximum number of addresses generated from patterns for the remote function. ... If column type is not nullable and this setting...
Read more >Log shows invalid email address - Mantis Bug Tracker - Forums
* - When OFF, validation is disabled. * * NOTE: Regardless of how this option is set, validation is never performed * when...
Read more >AssuredSAN 3000 Series CLI Reference Guide - Seagate
Guide for information about setting management port IP addresses using the CLI. ... disabled by using the set cli-parameters command.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@lblackstone has this in the works in https://github.com/pulumi/pulumi-gcp/pull/929
Looks like this will be in the 4.41.0 release of the terraform provider: https://github.com/hashicorp/terraform-provider-google/issues/11891#issuecomment-1273625735 at which point we will release it as well. Thanks for your patience!