limited-ability-67435
02/08/2022, 9:51 PMelegant-monkey-64304
02/08/2022, 11:33 PMpulumi preview
fails because it tries to invoke the getter even if the resource doesn't exist yet.
I can't use the depens_on
argument as ResourceOptions
has because InvokeOptios
doesn't support that.
Many thanks.bright-stone-12333
02/09/2022, 12:16 AMcolossal-boots-62227
02/09/2022, 9:17 AMContainerDefinition
with embedded Input
’s rather than building a big JSON string) for the AWS classic provider? It’s defined as pulumi.Input[str]
in TaskDefinitionArgs
which seems to force us to serialize it as a string (after using all/apply/concat on the Output
’s as usual). I assume this is an upstream (Terraform) restriction, yet it works for awsx
somehow.high-leather-15669
02/09/2022, 12:19 PMpulumi up/destroy/preview/etc..
is there a variable which I could use inside my `python`programs? something like pulumi.cli.arg[1]
or so?quiet-laptop-13439
02/09/2022, 2:54 PM~/.pulumi
. pulumi plugin ls -p
doesn't show that plugin in use. However, when we try to run pulumi up, it is still downloaded.ancient-eve-13947
02/09/2022, 3:52 PMdocker.Image()
, how can I specify multiple tags? say ":1.0" and ":latest"?
what I currently do to work around is to create two images, but that's a) annoying because they need to have different resource-names and b) leads to the creation of two resources where I logically have only one with 2 tags.bored-table-20691
02/09/2022, 5:41 PMpulumi import "aws:rds/cluster:Cluster" my-rds-cluster "rds-cluster-name"
and I got an error saying the RDS cluster did not exist. After a while, I figured out it was just using the implicit AWS credentials I have on my machine, which are going to our main account (which doesn’t have this resource in it), as opposed to our prod account. So I created a profile to our prod account (with assume role) and did:
AWS_PROFILE=prod-account pulumi import "aws:rds/cluster:Cluster" my-rds-cluster "rds-cluster-name"
and then it “successfully” found and imported the cluster. I put it in quotes because it basically imported it under a new provider (I think the default one), which then conflicted with what I had in code so it wanted to re-create it. I manually exported the stack JSON, edited the provider reference, re-imported it and it was happy.
With that in mind, my questions:
1. Is it expected that I would need to do something like the AWS_PROFILE=prod-account
above? Should it not select the provider I have defined in my stack (or ask me which one I want to use)?
2. Is it expected that it imported it into the stack state with a brand new provider that didn’t exist before?agreeable-eye-87399
02/09/2022, 5:43 PMlimited-army-96747
02/09/2022, 8:03 PMacoustic-fireman-23577
02/09/2022, 10:31 PMnutritious-battery-42762
02/09/2022, 11:46 PMhallowed-librarian-90419
02/10/2022, 1:36 AMfancy-spoon-46046
02/10/2022, 9:13 AMdocker login
and have it working in the terminal. Am I missing a setup step? Or is this just a bug?
new docker.Provider(
`github-docker-provider`,
{
registryAuth: [
{
address: '<http://ghcr.io|ghcr.io>',
username: 'XXX',
password: 'XXX',
},
],
}
)
error: Running program ‘/Users/xxx/Documents/projects/xxx’ failed with an unhandled exception:
Error: invocation of dockerindex/getRegistryImagegetRegistryImage returned an error: invoking dockerindex/getRegistryImagegetRegistryImage: 1 error occurred:
* Got error when attempting to fetch image version xxx/xxx:latest from registry: Got bad response from registry: 403 Forbiddenlimited-army-96747
02/10/2022, 9:52 AMtags
, cloudFormationTags
and autoScalingGrouptTags
, but none of them workedsteep-beach-52652
02/10/2022, 10:37 AMabundant-notebook-11210
02/10/2022, 10:40 AMgifted-island-55702
02/10/2022, 10:42 AM$ pulumi plugin install resource terraform v5.2.0
[resource plugin terraform-5.2.0] installing
error: [resource plugin terraform-5.2.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-terraform-v5.2.0-darwin-arm64.tar.gz>
gifted-island-55702
02/10/2022, 10:43 AMgifted-island-55702
02/10/2022, 10:43 AMmost-pager-34456
02/10/2022, 2:18 PMacoustic-fireman-23577
02/10/2022, 4:49 PMrough-intern-34947
02/10/2022, 5:18 PMawsx.apigateway.API
) this happens:
(I’ve played with modifying Lambda code like this yesterday and it worked without problems 😕 - just plain old JavaScript)high-angle-20826
02/11/2022, 3:58 AMsteep-cartoon-89174
02/11/2022, 9:16 AMsteep-cartoon-89174
02/11/2022, 9:17 AMwet-hydrogen-53006
02/11/2022, 9:58 AMrapid-raincoat-36492
02/11/2022, 4:19 PMsteep-baker-41148
02/11/2022, 4:19 PMhappy-minister-40132
02/11/2022, 4:49 PM