victorious-gigabyte-4729
06/18/2020, 1:27 AMpulumi.all([config.circleCiToken, config.circleCiProject, userAccessKey.id, userAccessKey.secret])
.apply(async ([token, project, accessKeyId, accessKeySecret]) => {
await setCircleCIEnvironmentVariable(token, project,'AWS_ACCESS_KEY', accessKeyId);
await setCircleCIEnvironmentVariable(token, project,'AWS_ACCESS_KEY_SECRET', accessKeySecret);
});
Ideally, it only runs on pulumi up
victorious-gigabyte-4729
06/18/2020, 1:30 AMlimited-solstice-34584
06/18/2020, 5:37 AMcurved-ghost-20494
06/18/2020, 12:09 PMmaster
to docker hub?magnificent-airport-79411
06/18/2020, 4:59 PMvar backendStack = new StackReference(config.Require ("backendStack"));
var apiHostName = backendStack.RequireOutput("apiHostName").Apply(v => v.ToString());
Console.WriteLine("!! API Host Name: " + apiHostName);
The output of the write line is:
!! API Host Name: Pulumi.Output`1[System.String]
What am I doing wrong?astonishing-quill-88807
06/18/2020, 8:30 PMastonishing-quill-88807
06/18/2020, 8:31 PMsparse-intern-71089
06/18/2020, 9:05 PMbitter-zebra-93800
06/18/2020, 10:28 PMmany-jordan-46874
06/18/2020, 11:40 PMmany-jordan-46874
06/18/2020, 11:40 PMnew aws.secretsmanager.SecretVersion(
'application',
{
secretId: dbSecret.id,
secretString: JSON.stringify({
HOST: db.address,
PORT: db.port,
USER: db.username,
PASS: db.password,
NAME: db.name,
URI: `postgres://${db.username}:${db.password}@${db.endpoint}/${db.name}`,
}),
},
{ dependsOn: db },
)
many-jordan-46874
06/18/2020, 11:42 PMmany-jordan-46874
06/18/2020, 11:43 PMCalling [toJSON] on an [Output<T>] is not supported.\n\nTo get the value of an Output as a JSON value or JSON string consider either:\n 1: o.apply(v => v.toJSON())\n 2: o.apply(v => JSON.stringify(v))\n\nSee <https://pulumi.io/help/outputs> for more details.\nThis function may throw in a future version of @pulumi/pulumi.
many-jordan-46874
06/18/2020, 11:43 PMnutritious-area-24048
06/19/2020, 3:34 AMfast-ice-1848
06/19/2020, 8:40 AMDiagnostics:
pulumi:pulumi:Stack (azure-py-aks-dev):
warning: resource plugin azure is expected to have version >=3.9.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
is it a bug?plain-tiger-79744
06/19/2020, 1:46 PMencryptedkey
. Do I have to check in the produced yaml files after the provisioning process? Is the produced encryptkey
import? Am I approaching this right? I am using Azure Key Vault as a secrets provider.melodic-student-71781
06/19/2020, 2:19 PMpulumi up
and now all subsequent operations fail:
Diagnostics:
pulumi:pulumi:Stack (customerdeployments-dev):
error: update failed
kubernetes:apps:Deployment (psd-ea-k8-ebosyc-models-deployment):
error: post-step event returned an error: failed to verify snapshot: resource urn:pulumi:dev::customerdeployments::kubernetes:core/v1:Namespace::east-asia-ingress-basic refers to unknown provider urn:pulumi:dev::customerdeployments::pulumi:providers:kubernetes::psd-ea-aksk8::eddb8f2b-8f2f-458d-ae13-495e7657b7c4
How can I get out of this? I'm fine with recreating all affected resources, but even destroy --target fails (I can't tear down the whole stack, there are a lot of other resources)
The pulumi version is the latest one, but the providers are a bit older.many-smartphone-58924
06/19/2020, 4:52 PM|
) in a configmap from Typescript?astonishing-quill-88807
06/19/2020, 8:41 PM{'export_key': {'urn': 'urn:of:component:resource'}}
astonishing-quill-88807
06/19/2020, 8:42 PMacoustic-leather-88378
06/19/2020, 9:01 PMx.ID()
(of type IDOutput
) value as a string
, what is the easiest way to do that?many-jordan-46874
06/19/2020, 9:03 PMdns.ts
, ecs.ts
, etc) and then doing an export * from './dns.ts'
for each file from a main index.ts
but only the first export got picked up, and the rest of the referenced files were not processed to build the stack config.busy-soccer-65968
06/19/2020, 9:57 PMname
. Sadly if there is no way I have to run a transformation everywhere it is referenced... Chart.yaml and here is an example of 1 of the templates that references it. deployment.yaml Otherwise we have to overide every template place where chart name is referencedvictorious-gigabyte-4729
06/20/2020, 2:07 AMpulumi up
I get the error error: no resource plugin 'pulumi-nodejs' found in the workspace or on your $PATH
- I'm reading through the docs and don't see where I'd need to install any plugins to do the nodejs dynamic provider in a nodejs pulumi projectfamous-kite-69533
06/20/2020, 6:26 PMapiVersion "apps/v1beta2/StatefulSet" was removed in Kubernetes 1.16. Use "apps/v1/StatefulSet" instead
- how can I tell Pulumi to ignore these? Thanksbest-lifeguard-91445
06/21/2020, 2:49 AMdamp-elephant-82829
06/21/2020, 12:19 PMbreezy-butcher-78604
06/22/2020, 3:27 AMpulumi policy publish
i get errors about duplicate policy namesdamp-elephant-82829
06/22/2020, 7:25 AMdamp-elephant-82829
06/22/2020, 7:25 AM