wet-egg-6347
08/18/2020, 1:41 PMpulumi/postgresql
, is there some way to run the equivalent of the following?
REVOKE CREATE ON SCHEMA public FROM PUBLIC;
millions-furniture-75402
08/18/2020, 2:07 PMloud-battery-37784
08/18/2020, 4:50 PMset
looking for more input which I assume is due to some characters not being escaped.bitter-application-91815
08/18/2020, 6:42 PMalert-raincoat-81485
08/18/2020, 6:59 PMbitter-application-91815
08/18/2020, 7:00 PMbitter-application-91815
08/18/2020, 7:04 PMchilly-rainbow-79265
08/19/2020, 3:59 AMchilly-rainbow-79265
08/19/2020, 3:59 AMchilly-rainbow-79265
08/19/2020, 4:01 AMazure:location
and othersalert-raincoat-81485
08/19/2020, 4:55 AMclass ec2instance():
def __init__(self, instance_name, instancetype, sg_name, counts):
self.instance_name = instance_name
self.instancetype = instancetype
self.sg_name = sg_name
self.counts = counts
def count(self):
for inst in range(0, self.counts):
Instances = aws.ec2.Instance(self.instance_name + str(inst),
ami="ami-12345",
instance_type= self.instancetype,
subnet_id=sbnet,
#userData: `#!/bin/bash
# echo "Splunk Hybrid cloud poc" > index.html
)
if __name__ == "__main__":
searchhead = ec2instance("sh", size, secgrp, 2)
searchhead.count()
idx = ec2instance("idx", size, secgrp, 3)
idx.count()
alert-raincoat-81485
08/19/2020, 4:56 AMchilly-rainbow-79265
08/19/2020, 6:59 AMβ΅ dev-kube-cluster-new (dev) in projects/pulumi/demo
β― tree
.
βββ dev
βΒ Β βββ go.mod
βΒ Β βββ go.sum
βΒ Β βββ main.go
βΒ Β βββ webserver.go
βββ Pulumi.dev.yaml
βββ Pulumi.staging.yaml
βββ Pulumi.yaml
βββ staging
βββ main.go
βββ webserver.go
2 directories, 9 files
β΅ dev-kube-cluster-new (dev) in projects/pulumi/demo
β― cd staging
β΅ dev-kube-cluster-new (dev) in pulumi/demo/staging via πΉ v1.14.6
β― pu preview
Previewing update (staging):
Type Name Plan Info
pulumi:pulumi:Stack demo_proj-staging 1 error
Diagnostics:
pulumi:pulumi:Stack (demo_proj-staging):
error: Failed to find go files for 'go run' matching /home/rajeshr/Documents/projects/pulumi/demo/*.go
β΅ dev-kube-cluster-new (dev) in pulumi/demo/staging via πΉ v1.14.6 took 4s
β― pu stack ls
NAME LAST UPDATE RESOURCE COUNT URL
dev 1 hour ago 4 <https://app.pulumi.com/rjshrjndrn/demo_proj/dev>
staging* n/a n/a <https://app.pulumi.com/rjshrjndrn/demo_proj/staging>
β΅ dev-kube-cluster-new (dev) in pulumi/demo/staging via πΉ v1.14.6 took 2s
β― cat ../Pulumi.staging.yaml
config:
azure:location: centralindia
β΅ dev-kube-cluster-new (dev) in pulumi/demo/staging via πΉ v1.14.6
β― cat ../Pulumi.dev.yaml
config:
azure:environment: public
azure:location: centralindia
here my project is demo_projsticky-receptionist-53934
08/19/2020, 8:44 AMbright-policeman-55860
08/19/2020, 10:06 AMincalculable-dream-27508
08/19/2020, 10:38 AM--replace
flag to pulumi up
narrow-jackal-57645
08/19/2020, 12:19 PMearly-intern-90238
08/19/2020, 12:30 PMhelpful-advantage-49286
08/19/2020, 3:43 PMhelpful-advantage-49286
08/19/2020, 3:43 PMbitter-application-91815
08/19/2020, 5:33 PMbitter-application-91815
08/19/2020, 5:33 PMhigh-greece-86639
08/19/2020, 6:33 PMstocky-spoon-28903
08/19/2020, 6:49 PMhigh-greece-86639
08/19/2020, 6:51 PMbitter-application-91815
08/19/2020, 7:33 PMbitter-application-91815
08/19/2020, 7:33 PMmammoth-address-60583
08/19/2020, 7:42 PMastonishing-quill-88807
08/19/2020, 8:26 PMnarrow-jackal-57645
08/20/2020, 12:17 AMacme/old_name
to acme/new_name
. FYI I do have stacks under this project. Many thanks in advance