This message was deleted.
# azure
s
This message was deleted.
i
if yes, there is an issue in defiinition of RoleAssignment
t
Sorry, what’s the issue?
i
id and name are required in new nextgen
which requires to put ID in both fields
which is opposite in old azure implementation, you can put one or another one, which clearly says, the new resource will be created if NAME is provided.
t
The old provider is how Terraform implemented things, while the new one is based on ARM service API. There are lots of discrepancies between the shapes of the two.
i
got it! thanks, but it seems there is a case, where you can’t set both, or at least we should make required one of those vars… probably bug in arm template
t
Here is an example I used in the wild: https://github.com/mikhailshilkov/temporal-samples/blob/main/azure-aks/temporal.ts#L71 Yes, it looks a bit repetitive, but that’s what we get from ARM anyway.
👍 1
i
thanks
that’s exactly what I do right now.