thousands-honey-26696
03/22/2024, 6:53 PMthankful-match-46035
03/24/2024, 11:20 AMtall-beach-44695
03/24/2024, 4:51 PMicy-controller-6092
03/25/2024, 1:37 AMicy-controller-6092
03/25/2024, 1:38 AMadorable-article-15826
03/25/2024, 5:37 AMmillions-furniture-75402
03/25/2024, 1:00 PMcuddly-engineer-30016
03/25/2024, 4:34 PMpulumi config set grafana:cloudAccessPolicyToken <secret>
where `grafana:cloudAccessPolicyToken`` is used by the provider source code to get the credential automatically. Thus for the first resource, I am just doing
resources:
grafanaDev:
type: grafana:CloudStack
properties:
description: Grafana cloud stack for dev
regionSlug: us
slug: grafanadev
name: grafanadev.grafana.net
and this works. But the second repo needs to be created with a different credentials. I can't update the config on the fly. For programming language based runtimes, I could pass the correct values to the constructor. Where do I pass the value in yaml?
EDIT: I think I should mention that this second credentials is actually created by a pulumi resource and is available as an output. I want to use the output as the credentials for the next resource.delightful-camera-40926
03/25/2024, 5:07 PM{
"Comment": "Save Restriction - Trigger Deletion - Restore on Fail",
"StartAt": "ExportRestrictionData",
"States": {
"ExportRestrictionData": {
"Type": "Task",
"Resource": "${resource_A_ARN}"
}
}
}
The problem is, that reading this file and replacing this variable won't work using language native functions, as it's an Output type at the time.
I know you can circumvent the issue by creating resource B inside the .apply()
block, but is there a better way without a potential callback hell?
I was thinking about pulumi.interpolate
sticky-kitchen-61063
03/25/2024, 6:21 PMpulumi stack change-secrets-provider
with AWS KMS. The strange thing is some previews work and some don't with no change:
❯
AWS_REGION=us-west-2 AWS_PROFILE=pulumi pulumi up
Previewing update (prod-usw2):
error: constructing secrets manager of type "cloud": secrets (code=InvalidArgument): InvalidCiphertextException:
❯
AWS_REGION=us-west-2 AWS_PROFILE=pulumi pulumi up
error: getting stack configuration: get stack secrets manager: secrets (code=InvalidArgument): InvalidCiphertextException:
❯
AWS_REGION=us-west-2 AWS_PROFILE=pulumi pulumi up
Previewing update (prod-usw2):
....preview continues successfully...
Has anyone else seen anything like this or have an idea how to fix it?cuddly-yacht-60692
03/25/2024, 8:52 PMalert-midnight-11504
03/25/2024, 9:20 PMsalmon-account-74572
03/25/2024, 10:34 PMPulumi.<stack>.yaml
file? (When using Pulumi Cloud, no local stack configuration file is created if no stack configuration values are supplied.)hallowed-city-12706
03/25/2024, 10:59 PMhundreds-gpu-71155
03/25/2024, 11:28 PMhundreds-gpu-71155
03/25/2024, 11:28 PMsilly-fireman-6851
03/26/2024, 1:22 PMpulumi up
for the first time, it created everything successfully
• if I rerun pulumi up
it throws error saying entity already exists
• in aws cloudformation it just says that no changes required
• is there a way we can do pulumi up
multiple times without failingadamant-father-26302
03/26/2024, 4:06 PMpulumi-eks
is there an easy way to add a security-group or security-group-rule to the cluster, without removing the creation of the default created security-group which enables traffic between the node-security-group and cluster-security group?red-airline-54646
03/26/2024, 4:55 PMuser@computer@.:~$ az vm list-sizes --location eastus --query "[?name=='Standard_E64-32ds_v5']"
[
{
"maxDataDiskCount": 32,
"memoryInMB": 524288,
"name": "Standard_E64-32ds_v5",
"numberOfCores": 64,
"osDiskSizeInMB": 1047552,
"resourceDiskSizeInMB": 2457600
}
]
proud-keyboard-93811
03/27/2024, 7:57 AMrich-continent-15404
03/27/2024, 4:38 PMrich-continent-15404
03/27/2024, 4:39 PMcuddly-engineer-30016
03/27/2024, 4:44 PMdependsOn
or parent
manually to get a more correct graph to show?aloof-city-28787
03/27/2024, 7:54 PMfast-sandwich-30809
03/27/2024, 10:55 PMnew Folder(fileShareName + folderName, {name: folderName});
The wrinkle - I want to use fileShare.name
to establish a dependency, but you can't do that for a resource's logical name. But I need the fileShare object anyway, to establish that link manually! (using dependsOn) This feels yucky.
The possible solution - I can use the pulumiOptions.parent
property to establish a stronger dependency, and then I think the parent's name is put in the URN automatically? But the docs say this is only for component resources. My hunch is that component resources use parent
under the hood, and so thing should work. Here's what I'm hoping for:fast-sandwich-30809
03/27/2024, 10:55 PMbrainy-napkin-70882
03/28/2024, 6:26 AMpulumi config refresh --stack prod
on every micro-stack I have in a mono-repo. On occasion, I will get the following error and it varies in terms of which stack outputs this error on each run:
error: no previous deployment
The state is stored in s3 and all stacks have initialized previously.
I'm not getting any further error messages to help debug this issue. What do I do?mammoth-gold-93338
03/28/2024, 9:26 AMerror: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "<https://xxx.xxx.k8s.ovh.net/openapi/v2?timeout=32s>": EOF
Which is odd because I don't see any possibility for this value to be persisted anywhere in .pulumi state directory
edit: In fact, I moved from cloud to local file://. because I think I experienced similar issues.future-hamburger-84031
03/28/2024, 9:41 AMLogging into the Pulumi Cloud backend.
pulumi preview on STACKNAME
and no output/response after that, it just stuck until the GH workflow times out, which is 30 minutes..
Any inputs would be very helpful, Thank you 🙏 🙏proud-beard-99169
03/28/2024, 12:36 PM