mammoth-agency-10350
06/17/2022, 1:02 AMPulumi@1
Azure Devops Task with an Azure storage account backend, I receive the following error: ##[error]Couldn't determine which login method to use. This task extension supports Pulumi Service backend and self-managed backends. Learn more at <https://www.pulumi.com/docs/intro/concepts/state>.
I am providing the AZURE_STORAGE_CONTAINER env var (it's sourced form a variable group above). The code here implies that with this env provided, the azure backend should be picked. Am I missing an input or is there a working example someone could provide?
I've also tried both linux and windows agents.
steps:
- task: Pulumi@1
inputs:
azureSubscription: <service principal connection>
command: 'up'
cwd: '$(ProjectDirectory)/'
stack: '${{ parameters.stack }}'
args: '--yes'
env:
PULUMI_CONFIG_PASSPHRASE: $(Pulumi.Passphrase)
AZURE_STORAGE_CONTAINER: $(Pulumi.StorageContainer)
AZURE_STORAGE_ACCOUNT: $(Pulumi.StorageAccount)
AZURE_STORAGE_KEY: $(Pulumi.StorageKey)
swift-hamburger-98290
06/17/2022, 12:12 PMazure-native
, the typescript and python libraries are 100% identical? Or are there any differences? I think before azure-native
, the typescript SDK was superior.lively-gigabyte-52811
06/20/2022, 8:55 AMazure-native
. I was searching the azure-native
api-docs but didn’t find anything. So I w It seems that I need to register the provider manually when I add DiagnosticSettings to resources. Initially I thought the registration happens automatically on first use. Does anyone have more insights and experience with ProviderRegistration? The goal is that our users don’t have to enable the providers manually before they run the pulumi programs (Which is what we do at the moment 🙂 ).freezing-article-56695
06/21/2022, 6:50 PMaz cli
I'd do all necessary kubectl/helm commands using az aks command invoke
and it works nice manually. I could not find method to start command invoke
in azure-native.containerservice
method set (similar to azure-native.compute.VirtualMachineRunCommandByVirtualMachine) .
Do U know any other way how to do setup on private cluster or can provide some pro-tips? thanks 🙂rough-window-15889
06/22/2022, 3:03 PMcurved-eye-56312
06/22/2022, 3:25 PMcreamy-judge-53688
06/23/2022, 9:16 AMazure-native:network:LoadBalancer
, and would love some clarity. Specifically I am trying to add IP addresses in the BackendAddressPool
field, but these are not reflected in Azure portal and the backend has no IP addresses. Your examples don't actually populate IP addresses.
I see some others use the more specific azure-native:network:LoadBalancerBackendAddressPool
but I cannot use this as my LoadBalancer
rules need to reference the backend pool, which it cannot do unless I create it in the LoadBalancer. Any pointers at all would be much appreciated, thank you!flaky-yak-39108
06/24/2022, 11:57 AMazure-native
library and using the getClientConfig({})
function.
But i am getting the following error response
Error: invocation of azure-native:authorization:getClientConfig returned an error: getting authenticated object ID: Error parsing json result from the Azure CLI: Error retrieving running Azure CLI: WARNING: This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: <https://docs.microsoft.com/cli/azure/microsoft-graph-migration>
Is there another way to retrieve the subscription ID or to avoid it all together, i need it for child processes that are referenced via azure IDcurved-pharmacist-41509
06/27/2022, 7:22 AMgentle-airplane-84691
06/29/2022, 11:25 AMgentle-airplane-84691
06/29/2022, 11:26 AMgentle-airplane-84691
06/29/2022, 11:26 AMStatus=404 Code="EntityNotFound" Message="Queue does not exist"
ancient-solstice-53934
06/29/2022, 12:23 PMancient-solstice-53934
06/29/2022, 1:28 PMmost-mouse-38002
06/29/2022, 2:33 PM{objectId}/{type}/{subId}
. edit: nevermind, for obvious reasons one cannot import this between different stacks from Azure 🙂creamy-judge-53688
06/30/2022, 1:07 PMazblob://<container>
) using Azure AD credentials supported or does it always need to be an Access Key/SAS token?gentle-airplane-84691
06/30/2022, 11:50 PMhappy-apartment-33291
06/30/2022, 11:59 PMHttpFuncion
of @pulumi/azure/appservice
(azure classic), I dont see that Class available anymore on pulumi docs… is there anything close from what HttpFunction was? or should I upgrade my code base to FunctionAppFunction
class? Thanks!happy-apartment-33291
07/01/2022, 12:00 AMgentle-airplane-84691
07/01/2022, 12:04 AMGrpc.Core.RpcException: Status=404 Code="EntityNotFound" Message="Queue does not exist"
the docs also does not show enough examplesgentle-airplane-84691
07/01/2022, 12:04 AMdamp-honey-93158
07/01/2022, 3:02 PMdamp-honey-93158
07/04/2022, 8:18 AMancient-solstice-53934
07/04/2022, 11:27 AMaz containerapp env dapr-component set --name ENVIRONMENT_NAME --resource-group RESOURCE_GROUP_NAME --dapr-component-name pubsub --yaml "./pubsub.yaml"
ancient-solstice-53934
07/04/2022, 4:34 PMpulumi plugin install resource azure-native v1.60.0
tall-gold-53021
07/05/2022, 8:40 AMmost-mouse-38002
07/05/2022, 4:19 PMObjectId
from this call? I’m not, and I am not sure if thats how it always was (the other three fields are present)?sparse-intern-71089
07/07/2022, 9:00 AMsparse-intern-71089
07/07/2022, 11:08 AMglamorous-waitress-51149
07/07/2022, 11:55 AMvar registry = Output.Tuple<string, string>("/subscriptions/MY_OTHER_SUB_ID/resourceGroups/container-apps-production", registryName)
.Apply(
items =>
Pulumi.AzureNative.ContainerRegistry.GetRegistry.InvokeAsync(
new() {
ResourceGroupName = items.Item1,
RegistryName = items.Item2
}
)
);
glamorous-waitress-51149
07/07/2022, 11:55 AMvar registry = Output.Tuple<string, string>("/subscriptions/MY_OTHER_SUB_ID/resourceGroups/container-apps-production", registryName)
.Apply(
items =>
Pulumi.AzureNative.ContainerRegistry.GetRegistry.InvokeAsync(
new() {
ResourceGroupName = items.Item1,
RegistryName = items.Item2
}
)
);
Duplicate resource URN 'urn:pulumi:staging::jctest::pulumi:providers:azure-native::production'; try giving it a unique name
var registry = Output.Tuple<string, string>("container-apps-production", registryName)
.Apply(
items =>
Pulumi.AzureNative.ContainerRegistry.GetRegistry.InvokeAsync(
new()
{
ResourceGroupName = items.Item1,
RegistryName = items.Item2
},
new InvokeOptions()
{
Provider = new Provider("production",
new ProviderArgs() { SubscriptionId = "MY_OTHER_SUB" })
}
)
);
pulumi:providers:azure-native
resourcesvar registry = Output.Tuple<string, string>("container-apps-production", registryName)
.Apply(
items =>
Pulumi.AzureNative.ContainerRegistry.GetRegistry.InvokeAsync(
new()
{
ResourceGroupName = items.Item1,
RegistryName = items.Item2
},
new InvokeOptions()
{
Provider = new Provider("production-container-registry",
new ProviderArgs() { SubscriptionId = "my_other_sub" })
}
)
);
var credentials = Output
.Tuple<string, string>(
"container-apps-production",
registryName)
.Apply(
items =>
ListRegistryCredentials.InvokeAsync(
new()
{
ResourceGroupName = items.Item1,
RegistryName = items.Item2,
},
new InvokeOptions()
{
Provider = new Provider("production-registry-credentials",
new ProviderArgs() { SubscriptionId = "my_other_sub" })
}
)
);
tall-librarian-49374
07/07/2022, 1:33 PMvar myProvider = new Provider("production",
new ProviderArgs() { SubscriptionId = "MY_OTHER_SUB" });
...
new InvokeOptions() { Provider = myProvider }
glamorous-waitress-51149
07/07/2022, 1:34 PMtall-librarian-49374
07/07/2022, 1:34 PMGetRegistry.Invoke
instead of GetRegistry.InvokeAsync
. You won’t need an Apply then.glamorous-waitress-51149
07/07/2022, 1:38 PMOutput.Tuple
as the values passed in are normal stringstall-librarian-49374
07/07/2022, 1:39 PMglamorous-waitress-51149
07/07/2022, 1:39 PMvar registry2 =
Pulumi.AzureNative.ContainerRegistry.GetRegistry.Invoke(
new()
{
ResourceGroupName = "container-apps-production",
RegistryName = registryName
},
new InvokeOptions
{
Provider = provider
}
);
var loginServer2 = registry2.Apply(x => x.LoginServer);
tall-librarian-49374
07/07/2022, 1:49 PMglamorous-waitress-51149
07/07/2022, 1:49 PM