echoing-park-18112
01/14/2025, 8:27 AMPulumi up
, but I have some strange changes that I don't understand, and I don't want to mess up the new infra setup.
My change that hasn't been pushed is to fix a misspelling error, I'm expecting to delete an Artifact registry and create a new one, which is happening besides the below changes that aren't expected.
⢠this is the 1st one
~ pulumi:pulumi:Stack: (refresh)
[urn=urn:pulumi:default::redacted::pulumi:pulumi:Stack::stack-default]
~ gcp:artifactregistry/repository:Repository: (refresh)
[id=projects/org/locations/us/repositories/repo-name]
[urn=urn:pulumi:default::redacted::gcp:artifactregistry/repository:Repository::repo-name]
[provider=urn:pulumi:default::redacted::pulumi:providers:gcp::default_8_13_1::b2352517-0ec7-4513-9a09-a485aad17f56]
--outputs:--
+ labels : {}
currently, it has the goog-pulumi-provisioned: true
label, as it was created by Pulumi.
⢠and this is the other one
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:default::redacted::pulumi:pulumi:Stack::stack-default]
~ gcp:artifactregistry/repository:Repository: (update)
[id=projects/org/locations/us/repositories/repo-name]
[urn=urn:pulumi:default::redacted::gcp:artifactregistry/repository:Repository::repo-name]
[provider=urn:pulumi:default::redacted::pulumi:providers:gcp::default_8_13_1::b2352517-0ec7-4513-9a09-a485aad17f56]
+ dockerConfig: {
+ immutableTags: false
}
+ dockerConfig: {
+ immutableTags: false
}
why is it duplicated, and why is changing something that is already set with the same value?
Any help would be appreciated š
and yes I have
options:
refresh: always
in my Pulumi.yaml
file to sync any manual changes back to what it should be.
Even by removing this, it still tries to make all the above changes.
I was Googleing this, and I found this in the Pulumi archive, now that I think about it, yesterday I ran brew update
to update the Pulumi CLI
This is the output of pulumi about
CLI
Version 3.145.0
Go Version go1.23.4
Go Compiler gc
Plugins
KIND NAME VERSION
resource gcp 8.13.1
language nodejs 3.145.0
Host
OS darwin
Version 14.7.2
Arch arm64
This project is written in nodejs: executable='/Users/user.name/.nvm/versions/node/v20.11.1/bin/node' version='v20.11.1'
Current Stack: organization/XXXX/default
TYPE URN
pulumi:pulumi:Stack urn:pulumi:default::...
Found no pending operations associated with default
Backend
Name XXXXX
URL <gs://XXXX-ZZZ>
User user.name
Organizations
Token type personal
Dependencies:
NAME VERSION
@pulumi/gcp 8.13.1
@pulumi/pulumi 3.145.0
@types/node 22.10.5
husky 9.1.7
lint-staged 15.3.0
prettier 3.4.2
typescript 5.7.3
echoing-park-18112
01/14/2025, 9:13 AMdefault.json
in the stack folder, in the bucket where the state is stored I have this:
{
urn: "urn:pulumi:default::redacted::gcp:artifactregistry/repository:Repository::repo-name",
custom: true,
id: "projects/org/locations/us/repositories/repo-name",
type: "gcp:artifactregistry/repository:Repository",
inputs: {
__defaults: [
"mode"
],
description: "This repository is used for storing some Docker images.",
dockerConfig: {
__defaults: [ ],
immutableTags: false
},
format: "DOCKER",
location: "us",
mode: "STANDARD_REPOSITORY",
repositoryId: "repo-name",
vulnerabilityScanningConfig: {
__defaults: [ ],
enablementConfig: "DISABLED"
}
},
outputs: {
__meta: "{"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0":{"create":1200000000000,"delete":1200000000000,"update":1200000000000}}",
cleanupPolicies: [ ],
cleanupPolicyDryRun: false,
createTime: "2025-01-13T12:46:52.624472Z",
description: "This repository is used for storing some Docker images.",
dockerConfig: null,
effectiveLabels: {
4dabf18193072939515e22adb298388d: "1b47061264138c4ac30d75fd1eb44270",
ciphertext: "v1:Kk"
},
format: "DOCKER",
id: "projects/org/locations/us/repositories/repo-name",
kmsKeyName: "",
labels: null,
location: "us",
mavenConfig: null,
mode: "STANDARD_REPOSITORY",
name: "repo-name",
project: "redacted",
pulumiLabels: {
4dabf18193072939515e22adb298388d: "1b47061264138c4ac30d75fd1eb44270",
ciphertext: "v1:RGE"
},
remoteRepositoryConfig: null,
repositoryId: "repo-name",
updateTime: "2025-01-13T12:46:52.624472Z",
virtualRepositoryConfig: null,
vulnerabilityScanningConfig: {
enablementConfig: "DISABLED",
enablementState: "SCANNING_DISABLED",
enablementStateReason: "API containerscanning.googleapis.com is not enabled."
}
},
parent: "urn:pulumi:default::redacted::pulumi:pulumi:Stack::org-default",
provider: "urn:pulumi:default::redacted::pulumi:providers:gcp::default_8_13_1::b2352517-",
propertyDependencies: {
description: [ ],
dockerConfig: [ ],
format: [ ],
location: [ ],
repositoryId: [ ],
vulnerabilityScanningConfig: [ ]
},
additionalSecretOutputs: [
"effectiveLabels",
"pulumiLabels"
],
...
},