delightful-computer-48592
11/18/2022, 2:33 PM--supress-outputs
in Pulumi GitHub actions? There is no option and I can’t find an environment variable to set either.little-library-54601
11/18/2022, 2:40 PMerror: the stack is currently locked by 1 lock(s). Either wait for the other process(es) to end or delete the lock file with `pulumi cancel`.
I had to cancel a workflow run because of an error in the workflow file. I'm sure that's why the lock file is hanging around.
But I can't "pulumi cancel" in the workflow itself. Can I run "pulumi cancel" from the command line to get the required effect? Or is it safe to delete the lock file from the place where it lives (azure storage blob)?
Thanks.echoing-dress-72742
11/18/2022, 2:42 PMvar resourceGroup = new Pulumi.AzureNative.Resources.ResourceGroup("rg-nicolai", new ResourceGroupArgs()
{
ResourceGroupName = "tst-rg-nicolai",
Location = "Norway East"
}, new CustomResourceOptions(){Provider = azProv});
What are the differences here, I mean ResourceGroup(“what are inside here”)
And compared to ResourceGroupNamefew-carpenter-12885
11/18/2022, 3:56 PMcustomTimeouts
on each individual resource, but I was not able to find anything about an overall stack timeout. For my use-case, I'm wanting to run the automation API inside AWS Lambda - so I want to stay within the Lambda timeout.chilly-plastic-75584
11/18/2022, 5:56 PMfierce-dinner-64337
11/18/2022, 8:05 PMstrong-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 AM