I am trying to build a Go script for Terraform provider, and I am having problems to create the below function. For example, Each OS type in the code below is supposed to ac