-
Notifications
You must be signed in to change notification settings - Fork 4k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go (golang) language support #547
Comments
I've closed #648 as a duplicate. |
+1 please |
Is this under way at all? |
@eladb Even though Go support is not underway, yet (if I understood it correctly), it would be very nice to see this happen. |
+1 |
+1 |
1 similar comment
+1 |
In my case, I need a struct for json marshal/unmarshal for cloudwatch DashboardBody. WTF right? |
Yes please! This would be amazing if Go was supported! Any updates on this? |
+1 |
1 similar comment
+1 |
+2 (Asking for a friend too) |
+3 please |
+1 |
Yes, please. One more vote for Golang support here. |
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
Is there a way we can contribute to this? I see lots of people +1 it, if just a small minority of them were able to help we'd probably have it by now. |
+1 for Go |
I've published a simple PoC of
Feedback and contributions more than welcome. Edit: Figured out the JSII part, works with all languages now! |
+1 for Go |
+1 |
+1 for Go |
Please let's stop these +1 comments and just click the thumbs-up icons |
+1 |
3 similar comments
+1 |
+1 |
+1 |
"Working on it" 🥰 |
Developer Preview is here! Go read all about it... |
@ccfife is there any (vague) ETA on when Go support will reach GA? The story on the roadmap board only links to this issue and a closed/completed board for reaching developer preview. Edit: I found this board linked from the above blog post: https://github.com/aws/jsii/projects/3 But it wasn't attached to the go issue on the roadmap, turns out I can edit that though, so I added the link |
You may track the Go GA project board here. We would love to hear your feedback on the Dev Preview version! |
Hi, Example use case: I was trying to deploy:
Pain points:
At this point there was already too much friction to get things done in a reasonable amount of time and I had to revert to Serverless. I'd can't wait to see this project grow and shine in the future but for the moment, without docs, examples, and with unfriendly APIs it's quite hard to use. Maybe someone more skilled with CDK in another language would have a better experience. |
not sure this is the place to post GA feedback. I finally got to play around with the go version. I used CDK itself since GA and use it at work to manage our prod infrastructure. Overall I enjoyed the experience, but it is noticeable that it's not built with go in mind and can at times look a bit awkward. testIntegration := awscdkapigatewayv2integrationsalpha.NewHttpLambdaIntegration(jsii.String("FirstTestIntegration"), firstTestFunction, &awscdkapigatewayv2integrationsalpha.HttpLambdaIntegrationProps{}) My only pain point, which is a pretty big one imo, is that you can't see the default values and if the value is required or not. Using TS the IDE tells me what values are must haves and what the default values are. As go doesn't have the possibility for either, you simply don't know, which is a huge bummer. The easiest fix would probably be to duplicate both value into the description of the attribute. I also tested pulumi in go and wasn't convinced, mostly because you just type the value as string, instead of having defined types and let your IDE show you what values are acceptable e.g. cdk: awsdynamodb.NewTable(stack, jsii.String("Table"), &awsdynamodb.TableProps{
PartitionKey: &awsdynamodb.Attribute{
Name: jsii.String("PK"),
Type: awsdynamodb.AttributeType_STRING,
},
SortKey: &awsdynamodb.Attribute{
Name: jsii.String("SK"),
Type: awsdynamodb.AttributeType_STRING,
},
BillingMode: awsdynamodb.BillingMode_PAY_PER_REQUEST,
RemovalPolicy: awscdk.RemovalPolicy_DESTROY,
}) Summary: I will continue to use the go version for my projects, but would recommend TS for everyone else, unless you are a huge go nerd and have previous cdk experience, otherwise you will probably have a hard time. The whole dev experience is just more cohesive in TS and there are more examples for beginners to learn from. hope that helps |
|
Developer Preview is here!
Go read all about it...
https://aws.amazon.com/blogs/developer/getting-started-with-the-aws-cloud-development-kit-and-go/
The text was updated successfully, but these errors were encountered: