mammoth-honey-6147
09/01/2022, 12:59 PMstate
? I'd rather not delete an entire stack as I have variables and secrets I wish to retain and not re-encrypt. Otherwise I have to go through every URN to do so.limited-account-35949
09/01/2022, 2:14 PMworried-helmet-23171
09/01/2022, 2:56 PMvictorious-dusk-75271
09/01/2022, 11:53 PMvictorious-dusk-75271
09/01/2022, 11:54 PMgreat-breakfast-61299
09/02/2022, 8:04 AMfuture-leather-73936
09/02/2022, 8:31 AMlively-mouse-58570
09/02/2022, 1:26 PMvar aksProvider = new K8s.Provider("k8s-provider-dev", new ProviderArgs
{
KubeConfig = kubeConfig,
Cluster = kubernetesCluster.Name,
});
which I use for creation of kubernetes dashboard:
var kubeDashboard = new ConfigFile("my-kubernetes-dashboard", new ConfigFileArgs
{
File = "<https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml>"
},
new ComponentResourceOptions
{
Provider = aksProvider,
DependsOn = aksProvider!
});
It works fine when deployment of cluster happens for the first time but if I'm trying to change Virtual Machine size (which requires recreation of cluster) and deploy this update I get an error:
error: resource complete event returned an error: failed to verify snapshot: resource urn:pulumi:dev::MyProject::kubernetes:yaml:ConfigFile$kubernetes:core/v1:Namespace::kubernetes-dashboard refers to unknown provider urn:pulumi:dev::MyProject::pulumi:providers:kubernetes::k8s-provider-dev::650f67b5-a3be-423f-81be-5e8453bf9c4f
error: update failed
Is there any workaround how to fix this issue or maybe I'm doing something wrong? Thank you!polite-mechanic-60124
09/02/2022, 9:33 PMsalmon-motherboard-78006
09/02/2022, 9:41 PMpulumi-snowflake
seems to be great for this.
My problem currently is that I'm not able to use different roles during execution.
For example,
I use SYSADMIN to create a database and I want to use SECURITYADMIN to create a new role.
In the config file, I set up snowflake:role
to SYSADMIN and I try to change to
os.environ["SNOWFLAKE_ROLE"] = "SECURITYADMIN"
but it doesn't seem to be picked up.victorious-dusk-75271
09/02/2022, 10:25 PMdry-potato-52542
09/03/2022, 9:52 PMrefined-napkin-57436
09/04/2022, 5:29 AMfreezing-artist-36980
09/04/2022, 12:37 PMfreezing-artist-36980
09/04/2022, 12:39 PMDestroying (staging):
Type Name Status Info
pulumi:pulumi:Stack myapp-infra-staging **failed** 1 error
- └─ aws:rds:SubnetGroup rds-subnet-group **deleting failed** 1 error
Diagnostics:
aws:rds:SubnetGroup (rds-subnet-group):
error: deleting urn:pulumi:staging::myapp-infra::aws:rds/subnetGroup:SubnetGroup::rds-subnet-group: 1 error occurred:
* deleting RDS Subnet Group (rds-subnet-group-84e29cf): InvalidDBSubnetGroupStateFault: Cannot delete the subnet group 'rds-subnet-group-84e29cf' because at least one database instance: myapp-staging is still using it.
status code: 400, request id: 2d691633-f9eb-4bf9-969c-f4db4ac4ee89
pulumi:pulumi:Stack (myapp-infra-staging):
error: update failed
gentle-knife-93855
09/04/2022, 3:24 PMapply
, pulumi throws Error: Secret outputs cannot be captured by a closure.
If I use pulumi.interpolate
, the IDE complains that Type 'Output<string>' is not assignable to type 'string | string[] | undefined'.
gentle-knife-93855
09/04/2022, 6:45 PMget()
does not work, throws an error - Error: Cannot call '.get' during update or preview.
flaky-arm-38472
09/05/2022, 2:23 AMImport
is already associated, will result in an error (e.g., Resource.AlreadyAssociatedthe specified association for route table rtb-4176657279 conflicts with an existing association) unless you first import the original association. EC2 Route Table Associations can be imported using the associated resource ID and Route Table ID separated by a forward slash (/). For example with EC2 Subnets
gentle-toddler-99412
09/05/2022, 6:54 AMstocky-father-68249
09/05/2022, 10:29 AMmelodic-car-16900
09/05/2022, 11:18 AMbrief-painter-96616
09/05/2022, 11:27 AMmelodic-car-16900
09/05/2022, 12:38 PMmelodic-car-16900
09/05/2022, 12:38 PMgentle-market-22852
09/05/2022, 1:04 PMstocky-father-68249
09/05/2022, 1:08 PMstage
in an API Gateway in AWS using stage = aws.apigatewayv2.Stage("$default", api_id=checkout_api.id)
But I'm being presented with an error saying,
aws:apigatewayv2:Stage ($default):
error: 1 error occurred:
* creating API Gateway v2 stage: BadRequestException: Stage name only allows a-zA-Z0-9_
But I'm able to create it using the console. Any idea how to circumnavigate this?handsome-candle-10543
09/05/2022, 2:03 PM<https://api.pulumi.com/api/stacks/org/project/stack/update/**> update uuid **/checkpoint
each of which takes around 2 - 5 seconds, just now it took 7 minutes to update 1 resource in a (stack that reads 13 resources) anyone have any idea what might be wrong? It did not used to be this slow.silly-king-85916
09/05/2022, 2:40 PMbillowy-laptop-50664
09/05/2022, 4:52 PMapiToken
as a secret. If I provide the token via the command line (AWS_PROFILE=my_profile CLOUDFLARE_API_TOKEN=rEdAcTeD pulumi refresh
) all is ok however if I set with AWS_PROFILE=my_profile pulumi config set cloudflare:apiToken --secret
and do a refresh it gives API errorscold-orange-37453
09/05/2022, 7:09 PM