sassoftware/viya4-iac-azure

While creating cloud infra for SAS installation in AKs facing nsg creation issue.

KambhamMadhava opened this issue · 1 comments

Terraform Version Details

Hi Team,
I am facing nsg creation issue all networking and access provided for me still getting same issue, Please fine the below issue.
Error: creating/updating Security Rule (Subscription: "7f699174-ccaf-48e2-92c3-5e8f759c38e2"
│ Resource Group Name: "sas-iot-aks-rg"
│ Network Security Group Name: "sas-iot-aks-nsg"

Security Rule Name: "sas-iot-aks-ssh"): performing CreateOrUpdate: unexpected status 403 with error: RequestDisallowedByPolicy: Resource 'sas-iot-aks-ssh' was disallowed by policy. Reasons: 'You are trying to create non-compliant resource.

│ Ensure that NSG rule you are creating has defined source IP and destination port. Creation of unrestricted NSG rules is not allowed.
│ Contact Digital Azure Cloud team (digitaldecsazurecloud) in case of any questions.'. See error details for policy resource IDs.

│ with azurerm_network_security_rule.vm-ssh[0],
│ on vms.tf line 119, in resource "azurerm_network_security_rule" "vm-ssh":
│ 119: resource "azurerm_network_security_rule" "vm-ssh" {

Terraform Variable File Details

No response

Steps to Reproduce

clone code form GitHub
using viya-manager command.

Expected Behavior

we need to create infra in azure thorugh viyamanger

Actual Behavior

getting issue with this tool

Additional Context

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hi @KambhamMadhava, could you elaborate or provide a link to the viya-manager command that you referenced in your issue text?