cool-sunset-72357
02/05/2020, 4:21 PMcool-sunset-72357
02/05/2020, 4:49 PMbitter-dentist-28132
02/05/2020, 6:52 PMworried-engineer-33884
02/05/2020, 9:58 PMfailed to verify snapshot: resource urn:pulumi:dev0::ucboitlake::aws:glue/trigger:Trigger::undergrad-admissions-crawler-trigger dependency urn:pulumi:dev0::ucboitlake::aws:glue/crawler:Crawler::undergrad-admissions-crawler refers to missing resource
The Trigger is defined like this:
export const undergradAdmissionsCrawlerTrigger = new aws.glue.Trigger(
"undergrad-admissions-crawler-trigger",
{
actions: [
{
crawlerName: catalog.undergradAdmissionsCrawler.name,
},
],
predicate: {
conditions: [
{
jobName: jobs.admissionsActionsTransformationJob.name,
state: "SUCCEEDED",
},
{
jobName: jobs.admissionsSlateTransformationJob.name,
state: "SUCCEEDED",
},
],
},
type: "CONDITIONAL",
workflowName: admissionsTransformationWorkflow.name,
},
);
Note the reference to undergradAdmissionsCrawler.name
which does create a dependency in the stack (verified via pulumi stack export
) but does not seem to get picked up by --target-dependents
cc @dazzling-memory-8548fast-dinner-32080
02/05/2020, 11:08 PMmake
. I am now running into an issue where make returns the error when it runs the TFGEN for each language.
error: failed to gather package metadata: problem gathering resources: 1 error occurred:
* go/build: importGo <http://github.com/terraform-providers/terraform-provider-rke|github.com/terraform-providers/terraform-provider-rke>: exit status 1
can't load package: package <http://github.com/terraform-providers/terraform-provider-rke|github.com/terraform-providers/terraform-provider-rke>: git ls-remote -q <https://github.com/terraform-providers/terraform-provider-rke>
The issue here is it thinks the repo should be in the terraform-providers github but it is not. I make sure that this url/string is not present anywhere in the boilerplate code I have locally. I am thinking something in the build process or pulumi tool is hardcoded to use that url. Is there a configuration I am missing to change this url?fast-dinner-32080
02/05/2020, 11:10 PMcareful-market-30508
02/05/2020, 11:10 PM'address': <pulumi.output.Output object at 0x10f923a58>,
'allocated_storage': <pulumi.output.Output object at 0x10f8fc048>,
'allow_major_version_upgrade': <pulumi.output.Output object at 0x10f8fc128>,
'apply_immediately': <pulumi.output.Output object at 0x10f8fc978>,
'arn': <pulumi.output.Output object at 0x10f923b00>,
What is the best way to convert entire object to string and print it e.g., the output of server_object = aws.rds.Instance(name,...fast-dinner-32080
02/05/2020, 11:35 PMfunc main() {
// Modify the path to point to the new provider
rkeProvider := rke.Provider()
rkeProvider.Repository = "<https://github.com/rancher/terraform-provider-rke>"
rkeProvider.GitHubOrg = "rancher"
tfgen.Main("rke", version.Version, rkeProvider)
}
fast-dinner-32080
02/05/2020, 11:47 PMfast-dinner-32080
02/05/2020, 11:47 PMpanic: fatal: A failure has occurred: Nested type "rke_clusterServicesEtcdArgs" declared by rke_cluster was already declared by rke_cluster
goroutine 1 [running]:
<http://github.com/pulumi/pulumi/pkg/util/contract.failfast(...)|github.com/pulumi/pulumi/pkg/util/contract.failfast(...)>
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi@v1.8.0/pkg/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/pkg/util/contract.Failf(0x2c6daf1|github.com/pulumi/pulumi/pkg/util/contract.Failf(0x2c6daf1>, 0x38, 0xc0007d31e8, 0x3, 0x3)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi@v1.8.0/pkg/util/contract/fail.go:30 +0x181
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).declareType(0xc00064e790|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).declareType(0xc00064e790>, 0x304b380, 0xc0002489c0, 0xc0001a3f66, 0xb, 0xc0007281c0, 0xc, 0x2bfd6dc, 0x4, 0xc00001c3f0, ...)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:124 +0x589
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).gatherFromPropertyType(0xc00064e790|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).gatherFromPropertyType(0xc00064e790>, 0x304b380, 0xc0002489c0, 0xc0001a3f66, 0xb, 0xc0007281c0, 0xc, 0x2bfd6dc, 0x4, 0xc00001c3f0, ...)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:158 +0x187
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).gatherFromProperties(0xc00064e790|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpNestedTypes).gatherFromProperties(0xc00064e790>, 0x304b380, 0xc0002489c0, 0xc0001a3f66, 0xb, 0x2bfd6dc, 0x4, 0xc0002f6e00, 0x21, 0x40, ...)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:145 +0xc6
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.gatherNestedTypesForModule(0xc000420000|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.gatherNestedTypesForModule(0xc000420000>, 0x7ffeefbff212)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:87 +0x1cf
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitModule(0xc00010c000|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitModule(0xc00010c000>, 0xc000420000, 0x2, 0x2, 0x0, 0xc0007d35c0, 0x104600e)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:336 +0x14b
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitModules(0xc00010c000|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitModules(0xc00010c000>, 0xc00062b310, 0x1, 0x1, 0x2, 0xc0005357c0, 0x1)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:296 +0x119
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitPackage(0xc00010c000|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*csharpGenerator).emitPackage(0xc00010c000>, 0xc00062b310, 0x1c0, 0x0)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate_csharp.go:228 +0xab
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*generator).Generate(0xc00059ac00|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.(*generator).Generate(0xc00059ac00>, 0x3, 0x30500c0)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/generate.go:501 +0xaf
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.newTFGenCmd.func1(0xc00048d680|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.newTFGenCmd.func1(0xc00048d680>, 0xc00062b2c0, 0x1, 0x5, 0x6, 0x6)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/main.go:66 +0x11f
<http://github.com/pulumi/pulumi/pkg/util/cmdutil.RunFunc.func1(0xc00048d680|github.com/pulumi/pulumi/pkg/util/cmdutil.RunFunc.func1(0xc00048d680>, 0xc00062b2c0, 0x1, 0x5, 0xc00069b9f8, 0x1367d74)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi@v1.8.0/pkg/util/cmdutil/exit.go:96 +0x51
<http://github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1(0xc00048d680|github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1(0xc00048d680>, 0xc00062b2c0, 0x1, 0x5)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi@v1.8.0/pkg/util/cmdutil/exit.go:112 +0x6b
<http://github.com/spf13/cobra.(*Command).execute(0xc00048d680|github.com/spf13/cobra.(*Command).execute(0xc00048d680>, 0xc0000dc130, 0x5, 0x5, 0xc00048d680, 0xc0000dc130)
/Users/mitch.maler/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x2aa
<http://github.com/spf13/cobra.(*Command).ExecuteC(0xc00048d680|github.com/spf13/cobra.(*Command).ExecuteC(0xc00048d680>, 0x3, 0x30500c0, 0x24)
/Users/mitch.maler/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
<http://github.com/spf13/cobra.(*Command).Execute(...)|github.com/spf13/cobra.(*Command).Execute(...)>
/Users/mitch.maler/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
<http://github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.Main(0x2bfd293|github.com/pulumi/pulumi-terraform-bridge/pkg/tfgen.Main(0x2bfd293>, 0x3, 0x30500c0, 0x24, 0xc0006ca780, 0x2bfd293, 0x3, 0x0, 0x0, 0x2c02658, ...)
/Users/mitch.maler/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge@v1.5.2/pkg/tfgen/main.go:31 +0x9b
main.main()
/Users/mitch.maler/downloads/pulumi-rke/cmd/pulumi-tfgen-rke/main.go:29 +0xdc
make: *** [build] Error 3
numerous-ambulance-45932
02/06/2020, 12:05 AMnumerous-ambulance-45932
02/06/2020, 12:06 AMnumerous-ambulance-45932
02/06/2020, 12:08 AMbroad-church-78931
02/06/2020, 5:28 AMfrom pulumi_aws import provider, s3
aws = provider.Provider("aws", endpoints={"S3": "<http://localstack:4572>"})
web_bucket = s3.Bucket('s3-website-bucket', website={
"index_document": "index.html",
})
bored-river-53178
02/06/2020, 8:21 AM@pulumi/mysql
, for example) and then remove public access from the instance? I would like to automate database creation in RDS with pulumi, but don't want to make my instances publicly available. Right now the only alternative I see is using lambda.faint-motherboard-95438
02/06/2020, 11:20 AMfaint-motherboard-95438
02/06/2020, 12:14 PMgcp.container.NodePool
(from a code which was working fine for more than a year now) returns :
gcp:container:NodePool ([clustername]-cluster-pool-main):
error: error creating NodePool: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(<//www.google.com/images/errors/robot.png>) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(<//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png>) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) no-repeat 0% 0%/100% 100%;-moz-border-image:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=<//www.google.com/>><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That's an error.</ins>
<p>The requested URL <code>/v1beta1/projects/[project_name]/locations/europe-west1-b/clusters/projects/[project_name]/locations/europe-west1-b/clusters/[cluster_name]/nodePools?alt=json&prettyPrint=false</code> was not found on this server. <ins>That's all we know.</ins>
best-waiter-16927
02/06/2020, 2:38 PMpulumi up
failures (conflict, pending resources etc.). Other than running grep on output is there any other way? f.e. different exit codes to different errors?famous-analyst-28762
02/06/2020, 5:37 PMpulumi/datadog
Monitor resources, there is a plan to implement life_cycle
? It could be really useful to avoid this issue: https://www.terraform.io/docs/providers/datadog/r/monitor.html#silencing-by-hand-and-by-downtimesambitious-lighter-63274
02/06/2020, 5:41 PMerror: Error: spawnSync /bin/sh EINVAL
... blow away node_modules and package-lock.yaml...npm install...run again...everything works fine. Switch stacks...spawnSync errors. Back and forth. Sometimes reinstalling Pulumi fixes it for a bit, sometimes not. Regardlesss, it has 3 or 4 different ways of failing...and I haven't changed any code...
I'm wondering if there's some level of verbosity that I can be running that provides useful info for feedback?millions-beach-85282
02/06/2020, 6:56 PMalert-beard-9601
02/06/2020, 7:43 PMthousands-london-78260
02/07/2020, 11:07 AMbitter-dentist-28132
02/07/2020, 4:09 PMruntime.listResourceOutputs(k8s.apps.v1.Deployment.isInstance)
and now it gets a protobuf decoder errorbitter-dentist-28132
02/07/2020, 4:09 PMmelodic-byte-32771
02/07/2020, 7:25 PMboundless-monkey-50243
02/07/2020, 8:46 PMfaint-australia-78690
02/07/2020, 11:36 PMshy-yak-78243
02/09/2020, 7:34 PMincalculable-dream-27508
02/09/2020, 7:37 PMcurl -sSL <https://get.pulumi.com> | sh && git clone <https://your.git.hosting/path/to/stack> && cd stack && pulumi up
that much of overhead?