Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

How do we handle resourceGroupName / resource_group definition? #34

Open
zikalino opened this issue Jun 17, 2019 · 1 comment
Open

How do we handle resourceGroupName / resource_group definition? #34

zikalino opened this issue Jun 17, 2019 · 1 comment
Labels
question Further information is requested

Comments

@zikalino
Copy link

It seems like there's some kind of exception built in and it's not mentioned in current documentation.

In batch account example api.yaml has resourceGroupName but in generated module we have resource_group.

I think the mechanism should be included in api.yaml as an exception.

Also it's a bit confusing in examples: resourceGroup and resource_group_name, but I described this in another issue related to examples as well.

@JunyiYi
Copy link
Contributor

JunyiYi commented Jun 18, 2019

Yes, resourceGroupName is a very special string which will be handled specifically in MM for both Terraform and Ansible. But since you are generating resourceGroup, we will use overrides in terraform.yaml to rename it to resourceGroupName.

@JunyiYi JunyiYi added the question Further information is requested label Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants