New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish pre-built providers for Go #723
Comments
Related to hashicorp/terraform-cdk#723 Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>
|
Note to my future self when writing docs for this soon: main.gopackage main
import (
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/hashicorp/cdktf-provider-random-go/random"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
func NewMyStack(scope constructs.Construct, id string) cdktf.TerraformStack {
stack := cdktf.NewTerraformStack(scope, &id)
// The code that defines your stack goes here
random.NewRandomProvider(stack, jsii.String("random"), &random.RandomProviderConfig{})
random.NewPassword(stack, jsii.String("password"), &random.PasswordConfig{Length: jsii.Number(10)})
return stack
}
func main() {
app := cdktf.NewApp(nil)
NewMyStack(app, "test-go-prebuilt")
app.Synth()
}To subscribed readers: This already works, but 馃か |
|
Are the https://github.com/terraform-cdk-providers repos going to be made public? |
|
Hi @jamiegs 馃憢 This repository manages them: https://github.com/hashicorp/cdktf-repository-manager Everything is public 馃憤 |
|
Also: This can be closed now as we support pre-built providers for Go since 0.12 馃帀 |
|
No I just forgot to close it out |
|
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
Description
We currently publish pre-built versions of the most common Terraform providers for TypeScript / JavaScript, Python, Java and C#.
We want to do this for Go as well.
References
The text was updated successfully, but these errors were encountered: