quiet-hairdresser-18834
06/29/2020, 6:32 PMfaint-motherboard-95438
06/30/2020, 12:07 AMpulumi up
in a container it reintalls the plugins each time while when I’m running the code locally I have no issue ? That’s driving me crazy.
I’m using the official container pulumi/pulumi-nodejs:latest
white-rainbow-68240
06/30/2020, 1:06 PMpulumi up
successfully via github actions? Pulumi up works locally for me.better-rainbow-14549
06/30/2020, 4:55 PMkubeconfig: pulumi.secret(kubeconfigraw)
but the full plain text is still being included in pulumi stack export
best-lifeguard-91445
06/30/2020, 9:21 PMconst createCloudWatchEventTargets = (rule: Output<EventRule>, pipeline: Pipeline) => {
pulumi.all([pipeline.name, pipeline.arn, rule.name]).apply(([pipelineName, pipelineArn, ruleName]) => {
const pipelineExecutionRole = new Role(`cwe-${pipelineName}-role`,
{
assumeRolePolicy: `{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "codepipeline.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}`
});
const pipelineExecutionPolicy = new Policy(`cwe-${pipelineName}-start-pipeline-execution`, {
policy: `{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"codepipeline:StartPipelineExecution"
],
"Resource": [
"${pipelineArn}"
]
}
]
}`
});
new PolicyAttachment(`cwe-${pipelineName}-start-pipeline-execution-attachment`, {
policyArn: pipelineExecutionPolicy.arn,
roles: [pipelineExecutionRole]
});
return new aws.cloudwatch.EventTarget(`${ruleName}-target`, {
arn: pipeline.arn,
rule: rule.name,
roleArn: pipelineExecutionRole.arn,
});
})
};
faint-motherboard-95438
06/30/2020, 10:45 PMdamp-elephant-82829
07/01/2020, 6:19 AMwhite-rainbow-68240
07/01/2020, 6:54 AMgreen-salesclerk-34937
07/01/2020, 8:18 AMalias.0.name: required field is not set
error with this code
export const apiDnsRecord = new aws.route53.Record('WSAPIRecord', {
name: domainName.domainName,
type: 'A',
zoneId,
aliases: [
{
evaluateTargetHealth: true,
name: domainName.domainNameConfiguration.targetDomainName,
zoneId,
},
],
})
so I tried domainName.domainNameConfigurationg.apply(config => …) to resolve empty targetDomainName but it didn’t work.
what I found is that export const domainName = …
clearly shows correct targetDomainName but I can’t get that.
Any help/advice what i can try?early-window-97394
07/01/2020, 12:52 PMdazzling-oxygen-76309
07/01/2020, 2:11 PMblue-computer-71271
07/01/2020, 3:29 PMicy-jordan-58549
07/01/2020, 5:11 PMable-beard-29160
07/01/2020, 5:38 PMimport
property, without having to also specify the name
property?polite-winter-39579
07/01/2020, 7:13 PMexport const registryCreds = pulumi.secret(new digitalocean.ContainerRegistryDockerCredentials("container-registry-creds", { registryName: registry.name }).dockerCredentials);
const registryCredsKubeSecret = new k8s.core.v1.Secret('registry-creds-kube-secret', {
type: '<http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson>',
metadata: {
namespace: appsNamespaceName
},
data: {
".dockerconfigjson": registryCreds.apply(v => Buffer.from(v).toString('base64')),
},
}, { provider })
// How do I make the output below NOT secret?
export const registryCredsKubeSecretName = registryCredsKubeSecret.metadata.name
polite-winter-39579
07/01/2020, 7:15 PMregistryCredsKubeSecretName
is secret by "lineage", however, it's not sensitive so I want output in plain textloud-battery-37784
07/01/2020, 7:25 PMpolite-winter-39579
07/01/2020, 7:35 PMpulumi.secret
to do the inverseshy-tent-25663
07/01/2020, 8:04 PMmany-smartphone-58924
07/01/2020, 8:38 PMpulumi up
?wide-journalist-154
07/01/2020, 9:54 PMicy-jordan-58549
07/01/2020, 10:35 PMfast-kilobyte-59880
07/02/2020, 6:35 AMgreat-postman-59271
07/02/2020, 8:01 AMdazzling-sundown-39670
07/02/2020, 9:37 AMdazzling-sundown-39670
07/02/2020, 11:00 AMdazzling-noon-8565
07/02/2020, 12:22 PMdazzling-noon-8565
07/02/2020, 12:23 PMbetter-rainbow-14549
07/02/2020, 1:01 PMpulumi destroy --non-interactive --yes
is just emptying the state file instantly without making any changes to the resources themselvesechoing-breakfast-73834
07/02/2020, 3:28 PMechoing-breakfast-73834
07/02/2020, 3:28 PMhundreds-musician-51496
07/02/2020, 4:48 PMpulumi up
?proud-salesclerk-33503
07/02/2020, 5:22 PMhundreds-musician-51496
07/02/2020, 5:27 PMechoing-breakfast-73834
07/02/2020, 5:37 PMpulumi up
hundreds-musician-51496
07/02/2020, 5:54 PM