bored-river-53178
04/29/2020, 10:18 AMfierce-beach-49649
04/29/2020, 1:52 PMcalm-parrot-72437
04/29/2020, 3:30 PMbrave-angle-33257
04/29/2020, 10:54 PMctrl-c
a running operation, and now can't reimport the state file, but JQ works.. (it's big, 13k lines).. bug ?
root@98a0af2021a4:/data/pulumi/infra/aws/mycompany/environment/mycompany-alarms# pulumi stack import < stage
error: could not deserialize deployment: unexpected end of JSON input
root@98a0af2021a4:/data/pulumi/infra/aws/mycompany/environment/mycompany-alarms# cat stage | jq '.version'
3
gifted-city-99717
04/30/2020, 12:04 AMhelpful-processor-86468
04/30/2020, 9:08 AMclever-crowd-18899
04/30/2020, 2:23 PM+ │ ├─ kubernetes:apps:Deployment istio-system/grafana create
+ │ ├─ kubernetes:apps:Deployment istio-system/kiali create
+ │ ├─ kubernetes:apps:Deployment istio-system/istio-egressgateway create
+ │ ├─ kubernetes:core:Secret istio-system/kiali create
+ │ ├─ kubernetes:apps:Deployment istio-system/istio-ingressgateway create
+ │ ├─ kubernetes:apps:Deployment istio-system/istiod create
+ │ ├─ kubernetes:apps:Deployment istio-system/istio-egressgateway create
+ │ ├─ kubernetes:apps:Deployment istio-system/istio-ingressgateway create
But when I choose yes, It dont schedule the creating of these deployments, and then the services that consume these deployments fails, because they never find these pods.clever-crowd-18899
04/30/2020, 2:25 PMclever-crowd-18899
04/30/2020, 2:27 PMclever-crowd-18899
04/30/2020, 2:27 PMclever-crowd-18899
04/30/2020, 2:31 PMchilly-hairdresser-56259
04/30/2020, 2:53 PMwhite-motorcycle-86077
04/30/2020, 6:01 PMupdating urn:<stack name>::awsx:x:autoscaling:AutoScalingGroup$aws:cloudformation/stack:Stack::<resource name>: timeout while waiting for state to become 'CREATE_COMPLETE, UPDATE_COMPLETE, UPDATE_ROLLBACK_COMPLETE, UPDATE_ROLLBACK_FAILED' (last state: 'UPDATE_IN_PROGRESS', timeout: 20m0s)
I attempted to put { customTimeouts: { create: "45m", update: "45m" } }
in:
awsx.autoscaling.AutoScalingGroup
awsx.autoscaling.AutoScalingLaunchConfiguration
The timeout didn't help. Any idea what I missing?big-potato-91793
04/30/2020, 10:35 PMhelpful-processor-86468
05/01/2020, 7:23 AMagreeable-angle-1483
05/01/2020, 10:32 AMrequire_object
but its not working as I’m expected.
this is the object:
endemic:backend_services:
service_a:
protocol: HTTP
timeout: 30
port: 80
instance_group: lala
health_check: lala-hc
service_b:
protocol: HTTPS
timeout: 30
port: 443
instance_group: kuku
health_check: kuku-hc
and this is how I’m trying to load it
config_obj = pulumi.Config('endemic')
backend_services = config_obj.require('backend_services')
when I’m printing it its showing me only the names
for service in backend_services:
print(service)
service_a
service_b
how do I access to the inside parameters? and if it’s possible I’d rather prefer to use the pulumi config
variables load inside,
i.e: service_protocol = config_obj.require('service_a:protocol')
let me know if you have other suggestion for the variables structure
thanks a lotbig-potato-91793
05/01/2020, 12:55 PMbrainy-vegetable-77467
05/01/2020, 1:34 PMbrainy-vegetable-77467
05/01/2020, 1:34 PMconst master = new digitalocean.Droplet(`k3s-master`, {
image: "ubuntu-18-04-x64",
region: region,
privateNetworking: true,
size: digitalocean.DropletSlugs.DropletS1VCPU1GB,
userData: userDataMaster,
});
export const master_ip_priv = master.ipv4AddressPrivate;
const userDataWorker = `#!/bin/bash
echo IPAddressMaster: $master_ip_priv > ip-master.txt
`;
const worker = new digitalocean.Droplet(`k3s-worker-1`, {
image: "ubuntu-18-04-x64",
region: region,
privateNetworking: true,
size: digitalocean.DropletSlugs.Droplet512mb,
userData: userDataWorker,
});
brainy-vegetable-77467
05/01/2020, 2:44 PMbrainy-vegetable-77467
05/01/2020, 2:44 PMconst userDataWorker = `
#!/bin/bash
echo ${(master_ip_priv.apply( master_ip_priv => master_ip_priv.toString() ))} > ipmaster.txt | sh -
`;
brainy-vegetable-77467
05/01/2020, 2:45 PM#!/bin/bash
echo Calling [toString] on an [Output<T>] is not supported.
To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
famous-kite-69533
05/01/2020, 3:08 PMlemon-tailor-72006
05/01/2020, 3:24 PMlemon-tailor-72006
05/01/2020, 3:54 PMlemon-tailor-72006
05/01/2020, 3:55 PMgray-yak-9058
05/01/2020, 7:30 PMmake
scripts/get-py-version.go:7:2: cannot find module providing package <http://github.com/pulumi/pulumi/sdk/v2/go/common/util/buildutil|github.com/pulumi/pulumi/sdk/v2/go/common/util/buildutil>: working directory is not part of a module
================
opsgenie Package
================
BUILD:
cd provider && go install -ldflags "-X <http://github.com/pulumi/pulumi-opsgenie/provider/pkg/version.Version=v0.0.1-alpha.1588074230+gca4ea26.dirty|github.com/pulumi/pulumi-opsgenie/provider/pkg/version.Version=v0.0.1-alpha.1588074230+gca4ea26.dirty>" <http://github.com/pulumi/pulumi-opsgenie/provider/cmd/pulumi-tfgen-opsgenie|github.com/pulumi/pulumi-opsgenie/provider/cmd/pulumi-tfgen-opsgenie>
pulumi-tfgen-opsgenie schema --out ./provider/cmd/pulumi-resource-opsgenie
/bin/bash: pulumi-tfgen-opsgenie: command not found
make: *** [generate_schema] Error 127
Any idea on what I might be doing wrong?cool-egg-852
05/01/2020, 7:48 PMimport
doesn’t accept Output<string>
important-football-63662
05/02/2020, 10:07 PMimportant-football-63662
05/02/2020, 10:53 PMpulumi up
hang indefinitely. I have to ctrl+c twice, export state, delete pending ops, re-import state, re-run each timeimportant-football-63662
05/02/2020, 10:53 PMpulumi up
hang indefinitely. I have to ctrl+c twice, export state, delete pending ops, re-import state, re-run each timecolossal-room-15708
05/03/2020, 3:59 AMimportant-football-63662
05/03/2020, 1:46 PM