Channels
pulumi-ai
package-authoring
pulumi-cdk
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
cloudengineering
yaml
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
blog-posts
localstack
welcome
gitlab
pulumi-kubernetes-operator
jobs
aws
pulumi-deployments
dotnet
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
general
Powered by
Title
w
wet-noon-14291
03/16/2021, 2:19 PM
Hello. In azure-native, is there a way to create subscriptions with pulumi? Like this one with the "old" sdk:
https://www.pulumi.com/docs/reference/pkg/azure/core/subscription/
b
better-shampoo-48884
03/16/2021, 2:32 PM
Doesn't seem like it - only thing under subscription for azure-native is Alias and I'm not even sure what that would be for:
https://www.pulumi.com/docs/reference/pkg/azure-native/subscription/
t
tall-librarian-49374
03/16/2021, 2:35 PM
I was sure there was an issue tracking this but I can’t find it… The problem is that it’s not possible to “delete” a subscription - so I wasn’t sure about the semantics of the resource. Should it “cancel” the subscription when a resource is deleted?
It looks like the classic provider does just that
https://github.com/terraform-providers/terraform-provider-azurerm/blob/bb82a8e3c34[…]azurerm/internal/services/subscription/subscription_resource.go
Do you mind filing an issue?
w
wet-noon-14291
03/16/2021, 3:20 PM
sure, I can do that.
https://github.com/pulumi/pulumi-azure/issues/857
t
tall-librarian-49374
03/16/2021, 3:25 PM
Thank you, I moved to
https://github.com/pulumi/pulumi-azure-native/issues/670
3 Views
#azure
Join Slack