Skip to content

Commit

Permalink
Merge pull request Azure#16 from jddarby/jl/manifest-location-bug
Browse files Browse the repository at this point in the history
Fix wrong location creation bug
  • Loading branch information
jordlay authored May 26, 2023
2 parents 276d3ca + d7f1b7a commit 938b02e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/aosm/azext_aosm/deploy/deploy_with_arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def construct_vnfd_parameters(self) -> Dict[str, Any]:
"""
assert isinstance(self.config, VNFConfiguration)
return {
"location" : {"value": self.config.location},
"publisherName": {"value": self.config.publisher_name},
"acrArtifactStoreName": {"value": self.config.acr_artifact_store_name},
"saArtifactStoreName": {"value": self.config.blob_artifact_store_name},
Expand All @@ -196,6 +197,7 @@ def construct_manifest_parameters(self) -> Dict[str, Any]:
"""
assert isinstance(self.config, VNFConfiguration)
return {
"location" : {"value": self.config.location},
"publisherName": {"value": self.config.publisher_name},
"acrArtifactStoreName": {"value": self.config.acr_artifact_store_name},
"saArtifactStoreName": {"value": self.config.blob_artifact_store_name},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.

// This file creates an Artifact Manifest for a CNF
param location string = resourceGroup().location
param location string
@description('Name of an existing publisher, expected to be in the resource group where you deploy the template')
param publisherName string
@description('Name of an existing ACR-backed Artifact Store, deployed under the publisher.')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.

// This file creates an NF definition for a CNF
param location string = resourceGroup().location
param location string
@description('Name of an existing publisher, expected to be in the resource group where you deploy the template')
param publisherName string
@description('Name of an existing ACR-backed Artifact Store, deployed under the publisher.')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.

// This file creates an NF definition for a VNF
param location string = resourceGroup().location
param location string
@description('Name of an existing publisher, expected to be in the resource group where you deploy the template')
param publisherName string
@description('Name of an existing ACR-backed Artifact Store, deployed under the publisher.')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.

// This file creates an NF definition for a VNF
param location string = resourceGroup().location
param location string
@description('Name of an existing publisher, expected to be in the resource group where you deploy the template')
param publisherName string
@description('Name of an existing ACR-backed Artifact Store, deployed under the publisher.')
Expand Down

0 comments on commit 938b02e

Please sign in to comment.