strong-air-37156
03/19/2021, 12:35 PMerror: could not deserialize deployment: decrypting secret value: [404] Not Found: Stack 'mzcloud/dev' not found
strong-air-37156
03/19/2021, 12:38 PMpulumi stack change-secrets-provider default
but the error persistsstrong-air-37156
03/19/2021, 12:56 PMstrong-air-37156
03/19/2021, 12:56 PMancient-night-64850
03/19/2021, 2:32 PMancient-night-64850
03/19/2021, 2:33 PMancient-night-64850
03/19/2021, 2:34 PMbored-oyster-3147
03/19/2021, 2:34 PMbored-oyster-3147
03/19/2021, 2:36 PMancient-night-64850
03/19/2021, 2:53 PMhelpful-van-82564
03/19/2021, 3:13 PMhelpful-van-82564
03/19/2021, 3:14 PMbillowy-laptop-45963
03/19/2021, 4:02 PMmillions-judge-24978
03/19/2021, 7:48 PMPulumi.yaml
) instead of each stack configuration, similar to how I can specify backend:
there?
I haven't been able to find this in the docs.proud-pizza-80589
03/19/2021, 9:01 PMpulumi config cp
(which works within a stack) but it does not create any files when i use -s
of a different project, any idea how to get the config copied over? It’s like 50 settings including 20 secrets, very time consuming to reset themwet-noon-14291
03/19/2021, 11:20 PMResourceB extends pulumi.ComponentResource {
constructor(name: string, options: pulumi.ComponentResourceOptions) {
super("....", name, options);
}
}
ResourceA extends pulumi.ComponentResource {
constructor(name: string) {
super("....", name, {});
new ResourceB(name, { parent: this });
}
}
With this code I would expect to get the following resource graph:
(stack) -> A -> B
instead I get
(stack) -> A
\-> B
What do I do wrong? How do I get the first graph?polite-shoe-79877
03/21/2021, 8:34 AMconst subscription = new Subscription("subscription",
{
subscriptionName: "subscription"
})
i get the following error:
error: azure:core/subscription:Subscription resource 'sub' has a problem: "subscription_id": one of billing_scope_id,subscription_id
must be specified
when i try to specify with either subscription_id or billing_scope_id it must be specified with an already exisiting subscription id.clever-byte-21551
03/21/2021, 3:09 PMtall-scientist-89115
03/21/2021, 7:39 PMpulumi up
, resulting in a lot of churn on my stateful set. Is there a way to stop this from happening? I've tried using values: { existingKeySecret: secret.id }
and had similar results.numerous-artist-1705
03/21/2021, 8:32 PMfierce-market-40669
03/21/2021, 10:11 PMbrash-airline-37413
03/21/2021, 11:22 PMbreezy-butcher-78604
03/22/2021, 2:14 AMclever-byte-21551
03/22/2021, 8:05 AMpulumi plugin ls
damp-school-17708
03/22/2021, 11:16 AMworried-knife-31967
03/22/2021, 11:35 AMPulumi.Config
in c# for unit testing? doesn't appear to be going through the mocks at the moment 😕prehistoric-coat-10166
03/22/2021, 11:37 AMPULUMI_CONFIG
environment variable
for example I have the following utility method I use for my unit tests
public static void WithConfig(Dictionary<string, object> config)
{
var values = System.Text.Json.JsonSerializer.Serialize(config, new System.Text.Json.JsonSerializerOptions()
{
});
Environment.SetEnvironmentVariable("PULUMI_CONFIG", values);
}
Which I can then use in my test like so
WithConfig(new Dictionary<string, object>()
{
{ "key:value", "test-value" },
});
bland-army-56447
03/22/2021, 11:44 AMapiECRRepo, err := ecr.NewRepository(ctx, "fooapp-api-pulumi", nil)
if err != nil {
return err
}
ctx.Export("apiRepoUrl", apiECRRepo.RepositoryUrl)
uiECRRepo, err := ecr.NewRepository(ctx, "fooapp-ui-pulumi", nil)
if err != nil {
return err
}
ctx.Export("uiRepoUrl", uiECRRepo.RepositoryUrl)
Now I’m trying out the import feature using this code:
apiECRRepo, err := ecr.NewRepository(ctx, "fooapp-api-pulumi-b730658", nil, pulumi.Import(pulumi.ID("fooapp-api-pulumi-b730658")))
if err != nil {
return err
}
ctx.Export("apiRepoUrl", apiECRRepo.RepositoryUrl)
uiECRRepo, err := ecr.NewRepository(ctx, "fooapp-ui-pulumi-b25077e", nil, pulumi.Import(pulumi.ID("fooapp-ui-pulumi-b25077e")))
if err != nil {
return err
}
ctx.Export("uiRepoUrl", uiECRRepo.RepositoryUrl)
The repos were created with the name fooapp-...
and then Pulumi added some lil hash/id whatever. I’m not sure if this belongs to the name/id now or not.
The error I get:
Diagnostics:
aws:ecr:Repository (fooapp-api-pulumi-b730658):
warning: inputs to import do not match the existing resource; importing this resource will fail
aws:ecr:Repository (fooapp-ui-pulumi-b25077e):
warning: inputs to import do not match the existing resource; importing this resource will fail
So my question is: What inputs do not match?
I can also see by [diff: ~name]; 1 warning
that it seems the name differs. But is there any way to show me the diff? Then I could get an idea on what’s the issue but nope. If I jun the command with -j
to get JSON output I can see the diff but it says "detailedDiff": null
Great 😅better-shampoo-48884
03/22/2021, 11:48 AMbetter-shampoo-48884
03/22/2021, 11:48 AMbetter-shampoo-48884
03/22/2021, 11:48 AM