question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error setting disabled: Invalid address to set: []string{"disabled"}

See original GitHub issue

What 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:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
viveklakcommented, Oct 18, 2022
1reaction
viveklakcommented, Oct 11, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found