Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recently added DeletedWith resource option not working properly #11318

Closed
kmoppel-cognite opened this issue Nov 10, 2022 · 1 comment
Closed
Labels
kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team

Comments

@kmoppel-cognite
Copy link

What happened?

I created a Postgres Azure database via the azure-native library, attached one configuration flag specifying pulumi.DeletedWith with the parent (the actual DB server URN). But pulumi destroy still starts from deleting the configuration flag...

PR adding this functionality #11095

Steps to reproduce

Full code example here - can it be that I'm using it wrongly?

Expected Behavior

Should not delete Conffiguration flags individually

Actual Behavior

Starts from the Configuration flag, errors out
Screenshot from 2022-11-10 14-00-47

Output of pulumi about

CLI
Version 3.46.0
Go Version go1.19.2
Go Compiler gc

Plugins
NAME VERSION
azure-native 1.65.0
go unknown

Host
OS ubuntu
Version 22.04
Arch x86_64

This project is written in go: executable='/usr/local/go/bin/go' version='go version go1.19.3 linux/amd64'

Backend
Name ryzen
URL file://~
User krl
Organizations

Dependencies:
NAME VERSION
github.com/pulumi/pulumi-azure-native/sdk 1.65.0
github.com/pulumi/pulumi/sdk/v3 3.46.1

Pulumi locates its logs in /tmp by default

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).

@kmoppel-cognite kmoppel-cognite added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Nov 10, 2022
@kmoppel-cognite
Copy link
Author

UPDATE - worked as expected after updating the CLI also to v3.46.1. The release notes could maybe mention that though, that SDK and CLI need to be in sync. Sorry for noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team
Projects
None yet
Development

No branches or pull requests

1 participant