There are several ways to generate AWS infrastructure in GO.
AWS CDK GO
The AWS Cloud Development Kit creates CloudFormation Templates with several languages, including GO.
AWS GoFormation is a GO library for the generation and reading of CloudFormation
CDK - Terraform GO
The CDK for Terraform creates HCL with several languages, including GO.