rough-parrot-6341
10/04/2020, 9:45 PMrough-parrot-6341
10/04/2020, 9:45 PMconst nginxIngress = new k8s.yaml.ConfigFile("nginx-ingress", {
file: "./kubernetes/yamls/nginx-ingress-v0.40.1.yaml",
}, { provider });
const nginxLoadBalancer = nginxIngress.getResource("v1/Service", "ingress-nginx-controller");
export const externalIps = nginxLoadBalancer.spec.externalIPs;
rough-parrot-6341
10/04/2020, 9:45 PMexternalIps
is empty and the stack output says No output values currently in this stack
rough-parrot-6341
10/04/2020, 9:45 PMrough-parrot-6341
10/04/2020, 10:50 PMgetResource
call and the actual IP was found from nginxLoadBalancer.status.loadBalancer.ingress
rough-parrot-6341
10/04/2020, 11:18 PMrough-parrot-6341
10/04/2020, 11:18 PMrough-parrot-6341
10/04/2020, 11:19 PMrough-parrot-6341
10/04/2020, 11:20 PMrough-parrot-6341
10/04/2020, 11:39 PMrough-parrot-6341
10/04/2020, 11:39 PMrough-parrot-6341
10/04/2020, 11:40 PMignoreChanges
clause for thatrough-parrot-6341
10/04/2020, 11:40 PMrough-parrot-6341
10/04/2020, 11:41 PMrough-parrot-6341
10/04/2020, 11:41 PMrough-parrot-6341
10/04/2020, 11:46 PMrough-parrot-6341
10/05/2020, 12:02 AMrough-parrot-6341
10/05/2020, 12:02 AMrough-parrot-6341
10/05/2020, 12:02 AMrough-parrot-6341
10/05/2020, 12:11 AMignoreChanges
only works for properties defined in the code, not for what pulumi checks for state-syncrough-parrot-6341
10/05/2020, 12:17 AMrough-parrot-6341
10/05/2020, 12:17 AMlimited-rainbow-51650
10/05/2020, 7:44 AMComponentResource
, is it obliged to create my resources in the constructor? Or can I delay the creation of (some of) them?
Also inside of its constructor, you will allocate any child resources, passing thehttps://www.pulumi.com/docs/intro/concepts/programming-model/#authoring-a-new-componentoption as appropriate to ensure component children are parented correctly.parent
handsome-dinner-91163
10/05/2020, 9:12 AMnutritious-shampoo-16116
10/05/2020, 10:28 AMmysterious-portugal-46322
10/05/2020, 10:45 AMorange-dog-73995
10/05/2020, 11:10 AMjolly-lifeguard-22556
10/05/2020, 1:09 PMrough-parrot-6341
10/05/2020, 1:45 PMrough-parrot-6341
10/05/2020, 1:45 PMrough-parrot-6341
10/05/2020, 1:45 PM