curved-helicopter-46451
08/05/2022, 7:58 PMignore_changes=['provider', 'opts', 'opts.provider', 'opts:provider', 'providers']
, on the resource options, but I'm assuming it doesn't work on itself?miniature-leather-70472
08/05/2022, 9:50 PMvictorious-dusk-75271
08/05/2022, 11:43 PMvictorious-dusk-75271
08/06/2022, 3:00 AMaws:ec2:Vpc rds-vpc-vpc deleting... completing deletion from previous update
How do i remove this task? that resource has dependency but its still trying to delete itacoustic-apple-75209
08/06/2022, 9:02 AMbrave-pharmacist-67045
08/06/2022, 10:54 AMfuture-dawn-71635
08/06/2022, 7:11 PMrich-businessperson-35436
08/07/2022, 12:37 PMbillowy-army-68599
08/07/2022, 3:21 PMflaky-arm-38472
08/08/2022, 6:46 AM├─ pulumi:providers:aws default
│ URN: urn:pulumi:test::my-project::pulumi:providers:aws::default
└─ pulumi:providers:aws default_5_9_2
URN: urn:pulumi:test::my-project::pulumi:providers:aws::default_5_9_2
Is that added automatically whenever a resource needs another version of the provider?ambitious-agent-35343
08/08/2022, 8:34 AMargo_app1 = app.argoproj.v1alpha1.Application(
app1_name,
metadata=k8s.meta.v1.ObjectMetaArgs(name=app1_name, namespace=ns.metadata.name),
spec=app.argoproj.v1alpha1.ApplicationSpecArgs(
destination=app.argoproj.v1alpha1.ApplicationSpecDestinationArgs(
namespace=app1_ns.metadata.name,
server="<https://kubernetes.default.svc>"
),
project="default",
source=app.argoproj.v1alpha1.ApplicationSpecSourceArgs(
path=app1_name,
repo_url="<https://github.com/private/repo>", # Private repo
target_revision="HEAD",
),
sync_policy=app.argoproj.v1alpha1.ApplicationSpecSyncPolicyArgs(
automated={}
)
),
opts=pulumi.ResourceOptions(provider=provider, depends_on=[argo, app1_ns]),
)
most-mouse-38002
08/08/2022, 8:55 AMRun git update-index -q --refresh
error: working tree is not clean, aborting!
HEAD detached at v0.0.5
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: sdk/python/pulumi_flux/README.md
narrow-cricket-15525
08/08/2022, 9:03 AMlively-table-10226
08/08/2022, 10:08 AMUS-EAST1+US-WEST1
, and i tried to reapply the code once again. Ideally it should not do anything. But it says location changed from US
to US-EAST1+US-WEST1
and trying to delete the bucket and recreate it. Can someone help me to resolve this.big-psychiatrist-43588
08/08/2022, 11:21 AMlet testdata: { [key: string]: string } = {};
testdata["namespace"] = "pulumi";
assign it to configMap
new k8s.core.v1.ConfigMap("testingConfigMap", {
metadata: {
labels: appLabels,
name: "client-default",
namespace: this.namespace
},
data: { "default.conf": testdata.toString() }
}, { provider: this.provider });
when i access the configMap, I see the data is coming in the form of binary not as a plain text.
kubectl describe cm -n thx client-default
Name: client-default
Namespace: pulumi
Labels: app=testingConfigMap
<http://app.kubernetes.io/managed-by=pulumi|app.kubernetes.io/managed-by=pulumi>
Data
====
default.conf:
----
[object Object]
BinaryData
====
Events: <none>
Can someone guide me here?many-spring-73557
08/08/2022, 5:00 PMpulumi up
, then pulumi will delete that value from AWS. But I need the notification value to stick around, and have pulumi forget it was ever managing it.big-potato-91793
08/08/2022, 6:55 PMpulumi:providers:aws aws.eu-west-1.kafka
pulumi:pulumi:Stack security-groups-prod running error: an unhandled error occurred: Program exited with non-zero exit code: -1
pulumi:pulumi:Stack security-groups-prod **failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (security-groups-prod):
error: an unhandled error occurred: Program exited with non-zero exit code: -1
I try multiple things. I remove my added changes and fix everything with the state to re-get that error again…stocky-petabyte-29883
08/09/2022, 8:50 AMconst setEnvVarsCommand = new remote.Command("set-env-vars", {connection,
create: pulumi.interpolate`echo "export MASTER_USER='"test"'\nexport MASTER_PASSWORD='test'\nexport DB_USERNAME='test'\nexport DB_PASSWORD='test'\nexport DB_NAME='test'\nexport DB_HOST='test'" >> ~/.bashrc && source ~/.bashrc && echo "AcceptEnv MASTER_USER MASTER_PASSWORD DB_USERNAME DB_PASSWORD DB_NAME DB_HOST" | sudo tee -a /etc/ssh/sshd_config && sudo service sshd restart`,
delete: `head -n -6 ~/.bashrc > tmp_file && mv tmp_file ~/.bashrc && head -n -1 ~/.bashrc > tmp_sshd && sudo mv tmp_sshd /etc/ssh/sshd_config`
}, { dependsOn: remoteFile });
new remote.Command("mysql-setup-execute", {connection,
create: pulumi.interpolate`chmod 777 ./mysql-setup.sh; ./mysql-setup.sh`,
delete: "rm mysql-setup.sh",
environment: {
MASTER_USER: masterUsername,
MASTER_PASSWORD: masterPassword!,
DB_USERNAME: dbUsername,
DB_PASSWORD: dbUserPassword,
DB_NAME: dbName,
DB_HOST: dbHost
}
}, { dependsOn: setEnvVarsCommand });
I am dumping all the env variables available in the mysql-setup.sh file and the environment variables have the place holder value test which I setup in the first remote command, I am not able to override it.
I went with AcceptEnv as people recommended it in the issue https://github.com/pulumi/pulumi-command/issues/48
I am stuck here and need some helpwet-fall-57893
08/09/2022, 11:15 AMpurple-state-87112
08/09/2022, 11:25 AMvictorious-dusk-75271
08/09/2022, 10:41 PMvictorious-dusk-75271
08/09/2022, 10:42 PMripe-ram-38792
08/10/2022, 2:29 AMripe-ram-38792
08/10/2022, 2:41 AMdry-motorcycle-32519
08/10/2022, 7:56 AMfierce-ability-58936
08/10/2022, 9:57 AMignore_changes
Resource option take effect when you do pulumi up --replace 'urn:xxx'
?
My thinking is it shouldn't. Or this is by design?wet-fall-57893
08/10/2022, 11:37 AMbig-psychiatrist-43588
08/10/2022, 12:35 PMfew-yacht-11623
08/10/2022, 4:45 PMnpx pr-environment-stack --stack-name pr-env-####
to be able to keep all the pulumi code in one place while calling it elsewherebored-vase-40478
08/10/2022, 7:03 PMCrossguards
) using an organization token, i received the following error message after the pulumi policy publish <org>
command execution: error: Publish policy pack failed: [403] You do not have permission to perform this operation.
Any idea if an organization token can publish policies?bored-vase-40478
08/10/2022, 7:03 PMCrossguards
) using an organization token, i received the following error message after the pulumi policy publish <org>
command execution: error: Publish policy pack failed: [403] You do not have permission to perform this operation.
Any idea if an organization token can publish policies?billowy-army-68599
08/10/2022, 7:30 PMacoustic-lock-52416
08/10/2022, 8:12 PMbored-vase-40478
08/10/2022, 8:38 PMPulumi.yaml
file could have a property option to associate a pulumi project with multiple policy groups.
- a PulumiPolicy.yaml
could have a parameter to associate that policy pack to multiple policy groups.