Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resources for address groups and service groups #322

Merged
merged 5 commits into from
Feb 11, 2022

Conversation

jan-walther
Copy link

This PR adds support for address_groups and service_groups as outlined in #170.

This PR also adds preliminary data sources for address_groups.

resource "nutanix_service_group" "test_service" {
  name = "test-2"
  description = "test"

  service_list {
      protocol = "TCP"
      tcp_port_range_list {
        start_port = 22
        end_port = 22
      }
      tcp_port_range_list {
        start_port = 2222
        end_port = 2222
      }
  }
}

resource "nutanix_address_group" "test_address" {
  name = "test"
  description = "test"

  ip_address_block_list {
    ip = "10.0.0.0"
    prefix_length = 24
  }
}

@jan-walther jan-walther force-pushed the master branch 2 times, most recently from e5bbc88 to 0503909 Compare December 27, 2021 16:03
@abhimutant
Copy link
Collaborator

PR needs some changes that we are done with. We will merge it in new branch and cherry-pick the new changes and the test cases we added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants