strong-helmet-83704
11/18/2022, 8:52 PMstackConfigDir
but is there any way we can change this variable at runtime? OR have it scan subdirs for configs? (looking to clean up sprawling conf directories)hallowed-printer-89159
11/18/2022, 9:01 PMglamorous-king-35011
11/18/2022, 9:08 PMfull-garage-72020
11/18/2022, 9:48 PMhallowed-horse-57635
11/18/2022, 10:28 PMaverage-engine-19798
11/19/2022, 8:00 AMaverage-engine-19798
11/19/2022, 8:03 AMfierce-dinner-64337
11/20/2022, 11:07 AMfierce-dinner-64337
11/20/2022, 12:31 PMalert-midnight-11504
11/20/2022, 11:23 PMgreat-sunset-355
11/21/2022, 8:22 AMparent = Parent(...,ResourceOptions(protect=True))
then pulumi sets protect=True
on all children as well child = Resource(..., ResourceOptions(parent=parent)
- is this intentional or do I have any bug in my code?
dns_zone = aws.route53.Zone(
"zone",
force_destroy=False,
name="<http://example.com|example.com>",
opts=pulumi.ResourceOptions(protect=True),
)
# this is a Component Resource
cert = ACMCertificateR53(
cert_config=ACMCertificateR53Config(
name=f"{PREFIX}-{key}",
tags=DEFAULT_TAGS,
zone_id=dns_zone.zone_id,
domains=["*.<http://example.com|example.com>"],
),
opts=pulumi.ResourceOptions(parent=dns_zone),
)
I see it being documented here https://www.pulumi.com/docs/intro/concepts/resources/options/parent/
But why is the parent protection passed onto children?
I want to protect parent resources only and not child resources.echoing-dress-72742
11/21/2022, 8:40 AMbillowy-tiger-6272
11/21/2022, 8:50 AMechoing-dress-72742
11/21/2022, 9:31 AMvar nicCoreMediaDevStorageAccount = new StorageAccount("mgcoremedia", new StorageAccountArgs
{
ResourceGroupName = resourceGroup.Name,
Kind = "StorageV2",
Sku = new AzureNative.Storage.Inputs.SkuArgs()
{
Name = SkuName.Standard_LRS
},
Location = "Norway East",
});
Is there a way to set a specific name on a storage account through Pulumi, right now the storage account ends up looking with a generated name appended to the name I have given.rhythmic-lion-28423
11/21/2022, 10:46 AMbrief-smartphone-88533
11/21/2022, 10:47 AMstocky-father-68249
11/21/2022, 11:30 AMfull-electrician-53450
11/21/2022, 12:13 PMconst argocd = new k8s.helm.v3.Chart(
"argocd",
{
namespace: "argocd",
chart: "argo-cd",
fetchOpts: { repo: "<https://argoproj.github.io/argo-helm>" },
transformations: [
(obj: any) => {
if (obj.apiVersion == "extensions/v1") {
obj.apiVersion = "<http://networking.k8s.io/v1|networking.k8s.io/v1>";
}
},
args => {
return {
props: args.props,
opts: pulumi.mergeOptions(args.opts, { ignoreChanges: ["metadata", "spec"] })
}
},
],
},
{ providers: { kubernetes: this.provider }, dependsOn: [argocdPriorityClass]})
This does not ignore changes in the chart child objects - once argocd via pulumi has been deployed, it redeploys another argocd chart with custom values (argocd controlling itself pattern, so i dont want to overwrite this).
My terminal reads:full-electrician-53450
11/21/2022, 12:14 PMgorgeous-country-43026
11/21/2022, 2:13 PMgcloud
as expected and they do appear and everything works. But with Pulumi this simply doesn't happen but in Pulumi state those are set thus leading to Pulumi state not being in sync with the actual environment.
The code I'm running has worked without issues before and as such this must be a regression. This happens at least with the latest version of @pulumi/gcp
(version 6.43.0). I tried downgrading @pulumi/gcp
to around when our lower environment was created (and when IAM bindings were successfully created) but that didn't help. So it might be something related to newer Pulumi CLI versions or something. I do not know at this point.
This however is fatal for us. Not being able to set IAM bindings reliably obviously is more or less catastrophic from IaC point of view. And because of this I'm thinking this kind of bug just cannot have slipped past and I'm reaching out if anyone else has faced this? This worked for us ~2 months ago but not anymore.billions-xylophone-85957
11/21/2022, 4:56 PMpulumi.isDryRun()
, which means the resource content is different at preview
and up
times. I'd like to be able to rely on just the --expect-no-changes
and not have to parse the diff myself.flaky-arm-38472
11/22/2022, 1:34 AMechoing-orange-22253
11/22/2022, 2:52 AM➜ datadog (wall-port) pulumi version
v3.47.1
➜ datadog (wall-port) pulumi new --list-templates
error: could not unmarshal '/Users/wall/.pulumi/templates/kubernetes-azure-yaml/Pulumi.yaml': Configuration key 'azure-native:location' is not namespaced by the project and should not define a type
➜ datadog (wall-port)
echoing-orange-22253
11/22/2022, 2:52 AMacoustic-hamburger-30479
11/22/2022, 6:07 AMprehistoric-toddler-40668
11/22/2022, 9:26 AMaws:lambda/function:Function resource 'campaign_entity_snapshot_function' has a problem: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2], got nodejs16.x. Examine values at 'Function.Runtime'.
im running pulumi version 3.47.1.
What am i doing wrong?delightful-fall-80513
11/22/2022, 9:31 AMclever-painter-96148
11/22/2022, 2:08 PMurn=urn:pulumi:$STACK_NAME::$PROJECT_NAME::pulumi-nodejs:dynamic:Resource::$RESOURCE_NAME
.
I'd like to avoid confusion between resources using the same names across different dynamic providers.billowy-army-68599
11/22/2022, 4:43 PMcool-dress-96114
11/22/2022, 5:56 PMcool-dress-96114
11/22/2022, 5:56 PMfierce-ability-58936
11/22/2022, 8:32 PMcool-dress-96114
11/22/2022, 9:24 PMfierce-ability-58936
11/22/2022, 9:27 PMpulumi config set --secret dbPassword S3cr37
cool-dress-96114
11/22/2022, 10:32 PMBy reading a secret from configuration using Config.get_secret or Config.require_secret.
I want a Config.set_secret
in Golangfierce-ability-58936
11/23/2022, 12:39 AMcool-dress-96114
11/23/2022, 12:49 AM