little-orange-65618
08/27/2021, 12:16 AMhandsome-state-59775
08/27/2021, 8:14 AMk8s.storage.v1.StorageClass
?
kind: StorageClass
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
metadata:
name: managed-premium-retain
provisioner: <http://kubernetes.io/azure-disk|kubernetes.io/azure-disk>
reclaimPolicy: Retain
parameters:
storageaccounttype: Premium_LRS
kind: Managed
I'd rather use enums and kwargs wherever possible instead of strings.numerous-action-56322
08/27/2021, 9:44 AMkind-van-98489
08/28/2021, 5:19 PMkind-mechanic-53546
08/30/2021, 3:40 AMcrooked-planet-47987
08/30/2021, 9:30 AMlimited-carpenter-34991
08/30/2021, 10:41 AM// This will enable HTTPS through Azure's one-click automated certificate deployment.
// The certificate is fully managed by Azure from provisioning to automatic renewal
// at no additional cost to you.
httpsEnabled: true,
In azure nativce the customdomain objects has no httpsEnabled property.icy-jordan-58549
08/30/2021, 1:25 PMnumerous-action-56322
08/31/2021, 7:03 PMenough-butcher-66045
09/02/2021, 6:06 AMflaky-planet-42808
09/02/2021, 2:50 PMManagedCluster
API with ingressApplicationGateway
as one of the add-on profiles. After the creation, I’m trying to get the identity of this add-on in-order to assign the required permissions to manage the application gateway. But I’m having trouble getting this identity using UserAssignedIdentity.Get
. Pulumi preview fails because it expects the identity to be already available but it wouldn’t be until the cluster is created. Thanks!handsome-state-59775
09/03/2021, 9:25 AMpulumi_azure_native.network.PublicIPAddress
error: cannot check existence of resource '/subscriptions/.../providers/Microsoft.Network/publicIPAddresses/...': status code 400, {"error":{"code":"InvalidApiVersionParameter","message":"The api-version '2020-11-01' is invalid. The supported versions are '2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."}}
arm2pulumi suggests v20200801
. Is it not possible to do this without specifying the API version explicitly?enough-butcher-66045
09/06/2021, 9:11 AMenough-butcher-66045
09/06/2021, 9:12 AMenough-butcher-66045
09/06/2021, 9:14 AMenough-butcher-66045
09/06/2021, 9:14 AMenough-butcher-66045
09/06/2021, 9:15 AMstrong-park-55853
09/06/2021, 4:18 PMpulumi plugin install resource azure v3.42.0
[resource plugin azure-3.42.0] installing
error: [resource plugin azure-3.42.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-azure-v3.42.0-darwin-arm64.tar.gz>
I checked the url for the current provider version and it seems to be available. Any help getting access to this version would make my life easier 🙂proud-dusk-33872
09/07/2021, 6:45 AMpulumi up
, it's missing in the next attempt and the "delete" fails. Is there a way to consider a "delete" operation on a missing blob successful?wooden-lifeguard-41446
09/07/2021, 12:52 PMdoes not have authorization to perform action 'Microsoft.Management/managementGroups/delete'
purple-train-14007
09/08/2021, 7:32 PMpurple-train-14007
09/08/2021, 7:32 PMname: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Deploy_Dev:
runs-on: [WinRunner]
name: Deploy to Karma Lab Domain
environment: KarmaLab
steps:
- uses: actions/checkout@v2
- name: Integration Testing
run: |
ls
Deploy_Corp:
needs: [Deploy_Dev]
runs-on: [WinRunner]
name: Deploy to SEA Domain
environment: SEA
steps:
- uses: actions/checkout@v2
- name: Integration Testing
env:
STORAGE_ACCOUNT: ${{secrets.SEA_STORAGE_ACCNT}}
STORAGE_TOKEN: ${{secrets.SEA_STORAGE_ACCN_PWD}}
run: |
$env:AZURE_STORAGE_ACCOUNT = $env.STORAGE_ACCOUNT
$env:AZURE_STORAGE_SAS_TOKEN = $env.STORAGE_TOKEN
pulumi login --cloud-url <azblob://pulumi>
shell: PowerShell
victorious-exabyte-70545
09/08/2021, 10:03 PMvictorious-exabyte-70545
09/08/2021, 10:03 PMvictorious-exabyte-70545
09/08/2021, 10:05 PMimportant-holiday-25047
09/09/2021, 4:44 PMconst blobSAS = storage.listStorageAccountServiceSAS({
accountName: storageAccountName,
protocols: storage.HttpProtocol.Https,
sharedAccessStartTime: "2021-08-08",//new Date(nowDate.getTime() - 60 * 60000).toISOString(),
sharedAccessExpiryTime: "2021-10-10",//new Date(nowDate.getTime() + 600 * 60000).toISOString(),
resource: storage.SignedResource.C,
resourceGroupName: resourceGroupName,
permissions: storage.Permissions.R + storage.Permissions.W + storage.Permissions.D + storage.Permissions.L + storage.Permissions.A + storage.Permissions.C + storage.Permissions.U,
canonicalizedResource: "/blob/" + storageAccountName + "/" + storageContainerName,
});
return pulumi.interpolate `https://${storageAccountName}.<http://blob.core.windows.net/${storageContainerName}/?${blobSAS.then(x|blob.core.windows.net/${storageContainerName}/?${blobSAS.then(x> => x.serviceSasToken)}`;
I assume it's a problem with the canonicalizedResource, though I am not sure what value could be correct there, as it only allows a value starting with /blob/
When I compare a SAS Token created via azure storage directly and the one i get here I see that the Api Versions are very different:
Azure Version: 2020-08-04
Pulumi Version: 2015-04-05
Also the used keywords seem to differ in these version so much that I can't compare them properly
Thank in advanceminiature-leather-70472
09/10/2021, 8:48 AMwooden-receptionist-75654
09/10/2021, 12:28 PMpulumi
and typescript
and tryin’ to understand how can I get subnet id
ouf of network.VirtualNetwork
import * as network from "@pulumi/azure-native/network";
const virtualNetwork = new network.VirtualNetwork("virtualNetwork", {
addressSpace: "10.0.0.0/23",
location: "eastus",
resourceGroupName: resourceGroup.name,
virtualNetworkName: managedClusterName,
subnets: [
{
addressPrefix: "10.0.0.0/24",
name: "subnet-a",
},
{
addressPrefix: "10.0.1.0/24",
name: "subnet-b",
},
]
});
I can see that virtualNetwork has a subnets list. Didn’t het how to fetch id.
Thanksminiature-leather-70472
09/10/2021, 2:00 PMmillions-journalist-34868
09/13/2021, 10:55 PM