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 docker:index/getRegistryImage:getRegistryImage returned an error: invoking docker:index/getRegistryImage:getRegistryImage: 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 PMwonderful-postman-42028
02/11/2022, 5:09 PMwonderful-postman-42028
02/11/2022, 5:09 PMmysterious-piano-88140
02/11/2022, 5:32 PMmammoth-art-6111
02/11/2022, 6:40 PMpurple-megabyte-83002
02/11/2022, 7:03 PM@aws-sdk
in a pulumi script but the code tries to run during the preview mode, how to make it behave like regular pulumi resources ?acceptable-oil-81004
02/11/2022, 7:08 PMacceptable-oil-81004
02/11/2022, 7:08 PM