There are several ways to generate AWS infrastructure in 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
The CDK for Terraform creates HCL with several languages, including GO.