Update parameter parser to use default lambda execution role ServiceCatalogTerraformOSParameterParserRole creds to fetch artifact when launch role is not provided.
Testing:
go test
Invoke parameter parser lambda with a valid launch role and it successfully uses launch role creds to fetch the artifact
Invoke parameter parser lambda with an empty launch role and it successfully uses default ServiceCatalogTerraformOSParameterParserRole creds to fetch the artifact
Invoke parameter parser lambda with no launch role in the payload and it successfully uses default ServiceCatalogTerraformOSParameterParserRole creds to fetch the artifact
Description of changes:
Update parameter parser to use default lambda execution role
ServiceCatalogTerraformOSParameterParserRole
creds to fetch artifact when launch role is not provided.Testing:
go test
ServiceCatalogTerraformOSParameterParserRole
creds to fetch the artifactServiceCatalogTerraformOSParameterParserRole
creds to fetch the artifact