This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Aegon\Documents\hacking\python> python | |
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> 2 | |
2 | |
>>> _*_ | |
4 | |
>>> _*_ | |
16 | |
>>> _*_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.handler = __f0; | |
var __exports = {}; | |
var __exports_athenaResultsBucket_proto = {}; | |
__f2.prototype = __exports_athenaResultsBucket_proto; | |
Object.defineProperty(__exports_athenaResultsBucket_proto, "constructor", { configurable: true, writable: true, value: __f2 }); | |
Object.defineProperty(__exports_athenaResultsBucket_proto, "apply", { configurable: true, writable: true, value: __f3 }); | |
Object.defineProperty(__exports_athenaResultsBucket_proto, "get", { configurable: true, writable: true, value: __f4 }); | |
var __exports_athenaResultsBucket = Object.create(__exports_athenaResultsBucket_proto); | |
__exports_athenaResultsBucket.value = "query-results-bucket-8cbcb4f"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Evans-MBP:sfvault evanboyle$ pulumi preview -v=9 --logtostderr | |
I0413 10:20:38.414833 15439 backend.go:417] found username for access token | |
I0413 10:20:38.606741 15439 backend.go:417] found username for access token | |
Previewing update (dev): | |
I0413 10:20:38.644733 15439 ignore.go:44] Explicitly ignoring and discarding error: no git repository found from /Users/evanboyle/go/src/sfvault/Pulumi.yaml | |
I0413 10:20:38.742603 15439 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host | |
I0413 10:20:38.742725 15439 plugins.go:427] GetPluginPath(language, go, <nil>): found on $PATH /Users/evanboyle/go/bin/pulumi-language-go | |
I0413 10:20:38.742757 15439 plugin.go:86] Launching plugin 'go' from '/Users/evanboyle/go/bin/pulumi-language-go' with args: 127.0.0.1:57304 | |
I0413 10:20:38.759285 15439 langruntime_plugin.go:170] langhost[go].GetPluginInfo() executing | |
I0413 10:20:38.759650 15439 langruntime_plugin.go:83] langhost[go].GetRequiredPlugins(proj=sfvault,pwd=/Users/evanboyle/go/src/sfv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Evans-MBP:tsvault evanboyle$ pulumi preview -v=9 --logtostderr | |
I0413 10:26:59.458324 15478 backend.go:417] found username for access token | |
I0413 10:26:59.641857 15478 backend.go:417] found username for access token | |
Previewing update (dev): | |
I0413 10:26:59.681038 15478 ignore.go:44] Explicitly ignoring and discarding error: no git repository found from /Users/evanboyle/go/src/tsvault/Pulumi.yaml | |
I0413 10:26:59.773329 15478 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host | |
I0413 10:26:59.773419 15478 plugins.go:427] GetPluginPath(language, nodejs, <nil>): found on $PATH /Users/evanboyle/go/bin/pulumi-language-nodejs | |
I0413 10:26:59.773448 15478 plugin.go:86] Launching plugin 'nodejs' from '/Users/evanboyle/go/bin/pulumi-language-nodejs' with args: 127.0.0.1:57366 | |
I0413 10:26:59.955877 15478 langruntime_plugin.go:170] langhost[nodejs].GetPluginInfo() executing | |
I0413 10:26:59.957650 15478 langruntime_plugin.go:83] langhost[nodejs].GetRequiredPlugins(proj=tsvault,pwd=/Us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Evans-MBP:tsvault evanboyle$ pulumi preview -v=9 --logtostderr | |
I0413 11:29:10.719112 16714 backend.go:417] found username for access token | |
I0413 11:29:10.891185 16714 backend.go:417] found username for access token | |
Previewing update (dev): | |
I0413 11:29:10.937253 16714 ignore.go:44] Explicitly ignoring and discarding error: no git repository found from /Users/evanboyle/go/src/tsvault/Pulumi.yaml | |
I0413 11:29:11.045250 16714 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host | |
I0413 11:29:11.045348 16714 plugins.go:427] GetPluginPath(language, nodejs, <nil>): found on $PATH /Users/evanboyle/go/bin/pulumi-language-nodejs | |
I0413 11:29:11.045378 16714 plugin.go:86] Launching plugin 'nodejs' from '/Users/evanboyle/go/bin/pulumi-language-nodejs' with args: 127.0.0.1:57937 | |
I0413 11:29:11.106219 16714 langruntime_plugin.go:170] langhost[nodejs].GetPluginInfo() executing | |
I0413 11:29:11.106589 16714 langruntime_plugin.go:83] langhost[nodejs].GetRequiredPlugins(proj=tsvault,pwd=/Us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Here's a representative set of errors that I picked up from running tf2pulumi over the AWS provider with verbose | |
// logging enabled. | |
# go | |
resource "aws_lambda_function" "example" { | |
filename = "example.zip" | |
function_name = "Example" | |
role = "${aws_iam_role.example.arn}" | |
handler = "index.handler" | |
runtime = "nodejs10.x" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd provider && go install -ldflags "-X github.com/pulumi/pulumi-aws/provider/v2/pkg/version.Version=v2.10.1+dirty" github.com/pulumi/pulumi-aws/provider/v2/cmd/pulumi-tfgen-aws | |
pulumi-tfgen-aws schema --out ./provider/cmd/pulumi-resource-aws --logtostderr -v=9 | |
# go | |
resource "aws_lambda_function" "example" { | |
filename = "example.zip" | |
function_name = "Example" | |
role = "${aws_iam_role.example.arn}" | |
handler = "index.handler" | |
runtime = "nodejs10.x" | |
} |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd provider && go install -ldflags "-X github.com/pulumi/pulumi-aws/provider/v2/pkg/version.Version=v2.10.1+dirty" github.com/pulumi/pulumi-aws/provider/v2/cmd/pulumi-tfgen-aws | |
pulumi-tfgen-aws schema --out ./provider/cmd/pulumi-resource-aws --logtostderr -v=9 | |
# go | |
resource "aws_lambda_function" "example" { | |
filename = "example.zip" | |
function_name = "Example" | |
role = "${aws_iam_role.example.arn}" | |
handler = "index.handler" | |
runtime = "nodejs10.x" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reduntant type declarations in arrays: | |
package main | |
import ( | |
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws" | |
"github.com/pulumi/pulumi/sdk/v2/go/pulumi" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"time" | |
"github.com/pulumi/pulumi/sdk/v2/go/pulumi" | |
"github.com/pulumi/pulumi/x/automation" | |
) |
OlderNewer