salmon-account-74572
09/18/2020, 6:29 PMhallowed-beach-15050
09/18/2020, 6:50 PMimportant-appointment-55126
09/18/2020, 7:09 PMworried-sandwich-8337
09/18/2020, 7:19 PMalert-smartphone-74315
09/18/2020, 9:50 PMclean-agent-81112
09/19/2020, 8:09 AMfamous-kite-69533
09/19/2020, 10:39 AMdamp-table-85095
09/19/2020, 2:00 PMvictorious-xylophone-55816
09/19/2020, 6:51 PMvictorious-xylophone-55816
09/19/2020, 7:15 PMprotect
due to the account limit of 20 certs, and now I can't delete the resources since they depend on the certificate 😬
Is it possible to say "Delete everything in the stack but X"?ambitious-father-68746
09/19/2020, 11:58 PMdamp-table-85095
09/20/2020, 12:03 AMpulumi.Input
variable?damp-table-85095
09/20/2020, 12:03 AMdamp-table-85095
09/20/2020, 12:04 AMPromise<string>
to an Input<string>
but couldn't figure it out.damp-table-85095
09/20/2020, 2:12 AMkind-school-28825
09/20/2020, 2:22 PMcurved-dress-32683
09/20/2020, 7:40 PMhandsome-zebra-11018
09/21/2020, 2:26 AMenv
variables to container. Is there any way I can define env variables as an array in yaml file and loop through then in my typescript file instead of coding each variable.
This is what I have today in yaml
config:
pro:key1:value1
pro:key2:value2
and this is how I am using them in my typescript file
env: [
{
name: "key1",
value: config.get("key1")
},
{
name: "key2",
value: config.get("key2")
},
This works fine but I have 30+ parameters and want the create env using loop instead of hardcoding every one in ts file
any help?
Something like
env: [
array.forEach((param :string) => {
const splitString = param.split(":");
{
name: splitString[0],
value: splitString[1]
}
})
],
helpful-farmer-76395
09/21/2020, 2:28 AMlittle-cartoon-10569
09/21/2020, 3:39 AMimport
opt. There have been a few changes on the way, most of which I've resolved using pulumi refresh
. Two that haven't yet been resolved are:
1. An IAM role created without a name or namePrefix, which has defaulted to using namePrefix = Pulumi name. In order to import it, I had to temporarily add the name property with its actual name. I now want to go back to using either the default or namePrefix. How do I get Pulumi to recognize that changing name: "myprefix-984ac6"
to namePrefix: "myprefix"
is no changed? I'm prepared to edit the state if needed.
2. My Directory was created with a password, which I'm now ignoring via ignoreChanges
(because I want to be able to change the password outside of Pulumi). If I leave ignoreChanges in, then Pulumi reports "resource 'dirname' has a problem: Missing required property 'password'".
Are either of these resolvable?famous-twilight-87777
09/21/2020, 7:11 AMfamous-twilight-87777
09/21/2020, 7:11 AMfamous-twilight-87777
09/21/2020, 7:11 AMlet assoc_bastion_ip = new os.networking.FloatingIpAssociate("associate_bastion_fip", {
floatingIp: bastion_ip.then(ip => ip.id),
portId: bastion.id
});
famous-twilight-87777
09/21/2020, 7:11 AMfamous-twilight-87777
09/21/2020, 7:12 AMDiagnostics:
openstack:networking:FloatingIpAssociate (associate_bastion_fip):
error: Unable to get ID of openstack_networking_floatingip_associate_v2 floating_ip 41142f29-54b9-44a7-bb33-8e6581634aa7: there are no openstack_networking_floatingip_v2 with 41142f29-54b9-44a7-bb33-8e6581634aa7 IP
famous-twilight-87777
09/21/2020, 7:13 AMfamous-twilight-87777
09/21/2020, 7:13 AMfloatingIp: bastion_ip.then(ip => ip.address)
famous-twilight-87777
09/21/2020, 7:14 AMfamous-twilight-87777
09/21/2020, 7:14 AMnutritious-shampoo-16116
09/21/2020, 10:27 AMnutritious-shampoo-16116
09/21/2020, 10:27 AMbroad-helmet-79436
09/21/2020, 10:31 AMnutritious-shampoo-16116
09/21/2020, 10:43 AMlittle-cartoon-10569
09/21/2020, 10:09 PMcurved-dress-32683
09/22/2020, 1:17 AM