victorious-knife-27355
07/15/2024, 1:36 PMsalmon-leather-17096
07/15/2024, 2:29 PMstale-park-1622
07/15/2024, 3:37 PM@pulumi/docker-build
. I am using aws conainter registry. When I run pulumi preview
I am getting the following error:
Diagnostics:
docker-build:index:Image (api-docker-image):
error: Resource type 'docker-build:index:Image' not found.
Here is the snippet of the code:
this.image = new docker_build.Image(
`${args.buildType}-docker-image`,
{
tags: [pulumi.interpolate`${this.repository.repositoryUrl}:${args.commitHash}_${Date.now()}`],
push: true,
buildOnPreview: args.buildOnPreview,
dockerfile: {
location: args.dockerfile,
},
context: {
location: args.buildContext,
},
buildArgs: {
...args.dockerBuildArgs,
BUILDKIT_INLINE_CACHE: '1', // This will enable buildkit to use cache
},
cacheFrom: [{
registry: { ref: pulumi.interpolate`${this.repository.repositoryUrl}:cache` },
}],
cacheTo: [{
registry: { ref: pulumi.interpolate`${this.repository.repositoryUrl}:cache` },
}],
platforms: [docker_build.Platform.Linux_amd64],
registries: [{
address: this.repository.repositoryUrl,
username: token.apply(token => token.userName),
password: pulumi.secret(token.apply(token => token.password)),
}],
},
{ provider: args.provider, parent: this.repository, dependsOn: [this.repository] },
);
I am not sure what this error is? Previously I was using the @pulumi/docker
to build and push images to aws ecr and it was working fine. Right now, i am setting up a new repository on aws ECR using the docker-build and runnign into this error.
thank you.big-architect-71258
07/15/2024, 6:10 PMnarrow-horse-98490
07/16/2024, 4:45 PMnumerous-evening-73913
07/17/2024, 10:16 PMfaint-elephant-30784
07/18/2024, 8:44 AMstrong-kite-44523
07/18/2024, 2:36 PMquick-terabyte-62453
07/18/2024, 6:25 PMbored-winter-60087
07/18/2024, 10:26 PMwaiting for RPCs: rpc error: code = Unknown desc = marshaling properties: awaiting input property "role": cannot marshal an input of type pulumi.StringOutput with element type string as a value of type pulumi.StringOutput
. There's no stack trace or anything to find out where it's failing or which value it's failing on. I'm also not really sure why a StringOutput
wouldn't be compatible with a StringOutput
bulky-afternoon-9964
07/19/2024, 7:11 PMeth0
(primary network interface) on the instance.
This momentary hiccup causes all running deployments to drop, I'm guessing this is beacuse of a socket connection to encrypt/decrypt secrets during the deployment.
post-step event returned an error: failed to save snapshot: serializing deployment: serializing resources: failed to encrypt secret value: performing HTTP request: Post
etc...
I followed that error to this problem described here:
https://www.pulumi.com/docs/support/troubleshooting/#interrupted-update-recovery
The solution to prevent this seems to me to be either:
• Figure out a way to hot-link my primary interface that's non-disruptive (WIP)
• Try to detect this as an output of the pulumi deployment and try to re-run pulumi up
Any thoughts on how to address this problem?
I do wonder if the exit code of the pulumi CLI would tell me if this deployment failed and needs to restart...flat-yak-38918
07/20/2024, 3:44 PMmysterious-dentist-60564
07/20/2024, 3:45 PMflat-yak-38918
07/20/2024, 7:14 PMrich-whale-93740
07/22/2024, 6:38 PMOutput
on a Python list? Here's the sudo code:
sns_topics: list[Output] = create_sns_topics()
receivers = []
for topic in sns_topics:
receiver = {
"arn": topic.arn
}
receivers.append(receiver)
yaml.dump(receivers)
yaml.dump
throws because it cannot handle future objects (from topic.arn
). I went through the doc on Outputs, but couldn't quite figure out how to use .apply
on a listbillowy-farmer-62965
07/22/2024, 8:58 PMpulumi cloud framework
. Is it possible to create a simple serverless project as described (https://www.pulumi.com/docs/clouds/aws/cloudfx/) based only on @pulumi/cloud
package and to deploy it to Azure cloud? Or is only AWS being supported at the moment as mentioned in docs when setting provider pulumi config set cloud:provider aws
? Thanks in advance for support. #azurebrainy-napkin-70882
07/22/2024, 10:53 PMpulumi-snowflake
v0.54.0, which I have installed using poetry
, and this is typically specified in my pyproject.toml/poetry.lock file. However, when I run pulumi plugin install resource snowflake
, it installs v0.56.0, which is the latest version.
Is there a way to get the plugin version to reference what is installed as a package?eager-pizza-63649
07/23/2024, 11:03 AM--path
option has format <namespace>:<name>
Pulumi whether doesn't allow to set it, if I specify whole path with namespace, or does it in a wrong way, if I omit the namespace. For example:
- With explicitly specified namespace:
pulumi config set --secret --path 'namespace:sites["<https://example.com>"].password' password
leads to error:
error: invalid configuration key: could not parse namespace:sites["<https://example.com>"].password as a configuration key (configuration keys should be of the form `<namespace>:<name>`)
- When namespace is omitted pulumi config set --secret --path 'sites["<https://example.com>"].password' password
, there's no error, but config contains:
config:
sites["<https://example>:
com"]:
password:
secure: <secret>
Is there any way to workaround that?
Pulumi v3.116.1
.late-chef-72896
07/23/2024, 12:26 PMRegisterComponentResource
). Any idea what I might be doing wrong?gorgeous-architect-28903
07/23/2024, 6:01 PMpulumi state rename
+ pulumi refresh
what I want? It isn’t clear to me from the docs if pulumi state rename
is for updating the physical name of the resource.average-optician-67817
07/24/2024, 5:02 AMESC
with AWS...?
• AWS Organizations
• IAM Identity Center
• A custom external provider (google workspace)
• Setup OIDC between aws and pulumibland-pharmacist-96854
07/24/2024, 12:55 PMrich-whale-93740
07/24/2024, 5:38 PMcompute
and one is observability
. Conceptually, compute
is a dependency of observability
. However, as part of observability
, we build services that requires resources in the compute
project, which take dependency on observability
. So this results in a circular dependency.
How do you handle this as your projects grow? Any best practices that you can share? Thank you 🙇 !modern-flag-64632
07/25/2024, 1:33 AMpulumi up --replace
with a file backend? I'm hitting snags trying to run it: error: failed to retrieve git folder: failed to clone ref 'refs/heads/main': dial tcp: lookup urn on 127.0.0.53:53: server misbehaving
victorious-answer-68580
07/25/2024, 4:34 AMSomeOutput.apply(() => throw Error()
but the error isn't really bubbling up and stopping Pulumi, causing it to hang since other resources use the created output from this call. How can I ensure Pulumi stops on this error? Does the output need to be provided as an output of the Pulumi script?few-cricket-13571
07/25/2024, 7:07 AMfreezing-quill-32178
07/25/2024, 10:55 AM@pulumi/std
or @pulumi/XYZ
packages?brave-cartoon-40872
07/25/2024, 10:54 PMpulumi config set <key> true
, I would expect my configuration file to show key: true
. Instead, I get key: "true"
, which is a string value, not a boolean one. Is this behavior intentional? Am I misunderstanding something about how Pulumi configuration works?sticky-answer-6826
07/26/2024, 5:12 AMsteep-pager-77235
07/26/2024, 8:23 PMup
and preview
to be sorted alphabetically by resource type? E.g. I just want all aws:iam resources to be listed together instead of jumbled throughout.