Display names for subscriptions are passed to create_subscription.

We don't need to generate the display name for a new subscription inside
the _create_subscription method.
This commit is contained in:
dandds 2019-12-16 10:12:35 -05:00
parent 1eef40a1cf
commit 1968d458db

View File

@ -530,7 +530,6 @@ class AzureCloudProvider(CloudProviderInterface):
):
sub_client = self.sdk.subscription.SubscriptionClient(credentials)
display_name = f"{environment.application.name}_{environment.name}_{environment.id}" # proposed format
billing_profile_id = "?" # where do we source this?
sku_id = AZURE_SKU_ID
# These 2 seem like something that might be worthwhile to allow tiebacks to