helpful-continent-74245
11/15/2018, 4:35 AMpreview
for now but it needs to access my cloud provider to workcold-coat-35200
11/15/2018, 1:01 PMgray-city-50684
11/15/2018, 4:35 PMthankful-artist-95425
11/15/2018, 5:33 PMorange-tailor-85423
11/15/2018, 5:59 PMorange-tailor-85423
11/15/2018, 6:00 PMorange-tailor-85423
11/15/2018, 6:00 PMadamant-restaurant-73893
11/15/2018, 7:34 PMadamant-restaurant-73893
11/15/2018, 7:35 PMbusy-umbrella-36067
11/15/2018, 11:18 PM--cache-from
implementation.
Is each image build explicitly tagged with the stages
when doing the push?
let multistageCachedNginx = new cloud.Service("examples-multistage-cached-nginx", {
containers: {
nginx: {
build: {
context: "./app",
dockerfile: "./app/Dockerfile-multistage",
cacheFrom: {stages: ["build"]},
},
memory: 128,
ports: [{ port: 80 }],
},
},
replicas: 2,
});
[ lumi-cloud/examples/containers ] + cloud:service:Service examples-multistage-cached-nginx creating Executing 'docker pull <http://086028354146.dkr.ecr.us-east-2.amazonaws.com/pulum-b3285f40-container-f879faf:build|086028354146.dkr.ecr.us-east-2.amazonaws.com/pulum-b3285f40-container-f879faf:build>'
busy-umbrella-36067
11/16/2018, 2:33 AMancient-match-5870
11/16/2018, 11:22 AMListenerRule
for a Load Balancer Listener on AWS. This is my current definition:
new aws.elasticloadbalancingv2.ListenerRule(`block-certain-routes`, {
listenerArn: listener.arn,
conditions: [{
field: "path-pattern",
values: ["/test1", "/test1"]
}],
actions: [{
type: "fixed-response",
fixedResponse: {
statusCode: 404,
contentType: "text/plain",
messageBody: "Not Found"
}
}]
}
});
I want to send a 404
whenever somebody requests certain paths. Unfortunately, the TS compiler complains with property apply is missing in type
on the conditions
and actions
attributes. Would be more than great if anybody can point me in the correct direction when it comes to defining a ListenerRule
🙂brave-angle-33257
11/16/2018, 4:56 PMorange-tailor-85423
11/16/2018, 7:42 PMorange-tailor-85423
11/16/2018, 7:43 PMorange-tailor-85423
11/16/2018, 7:43 PMorange-tailor-85423
11/16/2018, 7:47 PMorange-tailor-85423
11/16/2018, 10:37 PMorange-tailor-85423
11/16/2018, 10:37 PMhelpful-continent-74245
11/19/2018, 4:51 AM`
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod panic: runtime error: invalid memory address or nil pointer dereference
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x1fb2b96]
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod goroutine 311 [running]:
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod <http://github.com/pulumi/pulumi-aws/vendor/github.com/jen20/awspolicyequivalence.(*awsPolicyStatement).equals(0xc000fb9d40|github.com/pulumi/pulumi-aws/vendor/github.com/jen20/awspolicyequivalence.(*awsPolicyStatement).equals(0xc000fb9d40>, 0x0, 0x0)
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod /home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/jen20/awspolicyequivalence/aws_policy_equivalence.go:155 +0x46
pulumi:pulumi:Stack infra-analytics-preprocessing_pipeline-prod <http://github.com/pulumi/pulumi-aws/vendor/github.com/jen20/awspolicyequivalence.(*awsPolicyDocument).equals(0xc000cf9a80|github.com/pulumi/pulumi-aws/vendor/github.com/jen20/awspolicyequivalence.(*awsPolicyDocument).equals(0xc000cf9a80>, 0xc000cf9b00, 0x0)
...
helpful-continent-74245
11/19/2018, 4:51 AMancient-match-5870
11/19/2018, 8:57 AMincalculable-angle-91273
11/19/2018, 5:52 PMpreview
or `up`:
error: Duplicate resource URN 'urn:pulumi:mindbody-infra-gcp-richard-laub::mindbody-infra::kubernetes:<http://helm.sh/v2:Chart$kubernetes:config.istio.io/v1alpha2:kubernetesenv::istio-system/handler';|helm.sh/v2:Chart$kubernetes:config.istio.io/v1alpha2:kubernetesenv::istio-system/handler';> try giving it a unique name
But my stack has 0 resources so i’m not sure what is causing the name conflict:
▶ pulumi stack | grep resources k8s:(mindbody-richard-laub|alpha)
Current stack resources (0):
No resources currently in this stack
damp-pillow-67781
11/19/2018, 9:50 PMearly-musician-41645
11/19/2018, 10:16 PMearly-musician-41645
11/19/2018, 10:16 PMconfig:
aws:region: us-west-2
foo:bar:
- "something"
- "something else"
early-musician-41645
11/19/2018, 11:02 PMorange-tailor-85423
11/20/2018, 12:09 AMorange-tailor-85423
11/20/2018, 12:10 AMorange-tailor-85423
11/20/2018, 12:11 AM