Write/Fix two go code

Job ID: 36900442

Budget: $10 – $30 USD

I'm seeking an experienced Go programmer to write/fix two functions for me.

func GetCred(ctx context.Context, assumeRolesToTry []string) returns a context with assumed AWS role (using github.com/aws/aws-sdk-go-v2/) and then uses this authenticated context to execute func GetTerraformPlan(ctx context.Context, workingDir string, envName string) (*tfjson.Plan, string, error) (using github.com/hashicorp/terraform-exec/tfexec)

Source code provided.
If you think you have the necessary proficiency to do this project, please don't hesitate to contact me.
Related categories: Golang Amazon Web Services Terraform