breezy-butcher-78604
11/11/2020, 5:35 AMfailed to verify snapshot
no matter what resources i target with the update. any tips on where to start trying to fix this?dazzling-sundown-39670
11/11/2020, 10:58 AMpulumi.dynamic.ResourceProvider
, but it seems the context is all wrong when running stuff inside it. This is basically my code:
const baseImageProvider: pulumi.dynamic.ResourceProvider = {
create(inputs) {
const image = repository.buildAndPushImage(inputs.buildOptions);
return Promise.resolve({
id: inputs.hash,
outs: {
image,
hash: inputs.hash,
},
});
},
update(id, olds, news) {
if (olds.hash === news.hash) {
return Promise.resolve({
outs: olds,
});
}
const image = repository.buildAndPushImage(news.buildOptions);
return Promise.resolve({
outs: {
image,
hash: news.hash,
},
});
},
};
But I'm getting the following error: Error: Program run without the Pulumi engine available; re-run using the pulumi CLI
. Any suggestions on how to solve this? Another solution would also be welcomesalmon-portugal-93186
11/11/2020, 12:55 PM"render-yaml"
provider. I'd like to try Pulumi as a replacement for our already existing YAML generation tools that we use in our gitops repository (holding desired state for 12 EKS clusters).
However, I can't seem to be able to remove the autoNaming
functionality of the Kubernetes resources. Since I'm generating YAML directly, I don't want Pulumi to generate unique suffixes at all. I'd like to generate the exact same resource names we already have deployed.
Is there any way to do this?
I saw some discussions/proposals on Github, but none of them works for me.
cc @calm-apple-46440 @gorgeous-egg-16927
Thanks!
Vojtechicy-jordan-58549
11/11/2020, 1:26 PMpulumi up
, got a trace results and this specific LanguageRuntime takes 1m14sec, out form whole pulumi plan
(1m17sec). Any ideas?proud-afternoon-49521
11/11/2020, 4:39 PMhundreds-toddler-20724
11/11/2020, 9:56 PMhundreds-toddler-20724
11/12/2020, 12:04 AMcould not make instance of 'azure:cdn/profile:Profile': name 'test-proj-dev-spa-cdn' plus 7 random chars is longer than maximum length 24
But the Azure documentation says the limit is 260. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftcdnmammoth-school-22886
11/12/2020, 12:27 AMpulumi up
can't detect the change. Since the code is set with a string type Filename field, I think it may be expected that pulumi fails to detect the change. Looking for a way to update code, without updating other configs.mammoth-school-22886
11/12/2020, 12:36 AMstocky-spoon-28903
11/12/2020, 12:39 AMhundreds-toddler-20724
11/12/2020, 2:16 AMquiet-wolf-18467
11/12/2020, 9:36 AMfull-bear-42554
11/12/2020, 3:34 PMfull-bear-42554
11/12/2020, 3:34 PMfull-bear-42554
11/12/2020, 3:35 PMfull-bear-42554
11/12/2020, 3:35 PMfull-bear-42554
11/12/2020, 3:35 PMpowerful-printer-57241
11/12/2020, 4:29 PM- task: Pulumi@1
inputs:
azureSubscription: ${{ parameters.azureSubscription }}
command: up
args: --yes
cwd: ${{ parameters.pulumiProjectDirectory }}
stack: ${{ parameters.stackName }}
However, it fails with
pulumi:pulumi:Stack Server.Environments-FeatureEnvironment-21103 Determining projects to restore...
pulumi:pulumi:Stack Server.Environments-FeatureEnvironment-21103 D:\a\1\s\src\Server.Environments\Server.Environments.csproj : error NU1101: Unable to find package Server.Library. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, <http://nuget.org|nuget.org>
pulumi:pulumi:Stack Server.Environments-FeatureEnvironment-21103 Failed to restore D:\a\1\s\src\Server.Environments\Server.Environments.csproj (in 14.39 sec).
pulumi:pulumi:Stack Server.Environments-FeatureEnvironment-21103 Build FAILED.
The reason apparently is that it ignores the Server.Environments\.nuget\NuGet.config
file to restore packages. In the config there is a private feed configured where Server.Library is available.
How to tell the task it should use the NuGet.config
file? Thanks!full-bear-42554
11/12/2020, 5:27 PMfull-bear-42554
11/12/2020, 5:30 PMpulumi up
and I get the following output:
PS C:\Users\johnr\Downloads\webserver-new> ..\pulumi-v2.13.2-windows-x64\Pulumi\bin\pulumi.exe up
Previewing update (dev)
View Live: <https://app.pulumi.com/fuzzybear3965/webbie/dev/previews/41d1109c-eacb-457b-8b1d-53007edf8d3f>
Type Name Plan Info
+ pulumi:pulumi:Stack webbie-dev create 1 error
= └─ gcp:compute:Instance mr. webbie import 1 error
Diagnostics:
pulumi:pulumi:Stack (webbie-dev):
error: preview failed
gcp:compute:Instance (mr. webbie):
error: Preview failed: refreshing urn:pulumi:dev::webbie::gcp:compute/instance:Instance::mr. webbie: 1 error occurred:
* Error when reading or editing Instance 1214816920423977412: googleapi: Error 403: Compute Engine API has not been used in project 349729176759 before or it is disabled. Enable it by visiting <https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=349729176759> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
full-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:32 PMfull-bear-42554
11/12/2020, 5:32 PMbitter-island-32150
11/12/2020, 7:19 PMpulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://app.pulumi.com/sadmanrock>: unmarshalling response object: invalid character '<' looking for beginning of value
full-bear-42554
11/12/2020, 7:42 PMpulumi stack rm
and it created the stack (I can see it on <http://app.pulumi.com|app.pulumi.com>
) but I don't see a YAML file for configuration.full-bear-42554
11/12/2020, 7:42 PMpulumi stack rm
and it created the stack (I can see it on <http://app.pulumi.com|app.pulumi.com>
) but I don't see a YAML file for configuration.broad-dog-22463
11/12/2020, 8:11 PMfull-bear-42554
11/12/2020, 9:04 PMconfig set
I had my stack YAML.