Code Monkey home page Code Monkey logo

Comments (5)

salv-orlando avatar salv-orlando commented on September 17, 2024

Hello! VPC resources are supported by their own provider, which can work together with the "regular" NSX Terraform provider

Hashicorp registry: https://registry.terraform.io/providers/vmware/for-vmware-nsxt-virtual-private-cloud/latest/docs
Github: https://github.com/vmware/terraform-provider-nsxt-virtual-private-cloud

from terraform-provider-nsxt.

msyretis avatar msyretis commented on September 17, 2024

Thanks for your response @salv-orlando , I will have a look at that provider. What about quotas for projects? Anything in the roadmap for that?

from terraform-provider-nsxt.

salv-orlando avatar salv-orlando commented on September 17, 2024

Hello @msyretis I will let @ksamoray comment on the feasibility of supporting quotas for projects, it should not be too challenging

from terraform-provider-nsxt.

ksamoray avatar ksamoray commented on September 17, 2024

Supporting project quotas requires implementations of a resource for constraint API, e.g:

PUT https://NSXMANAGER/policy/api/v1/infra/constraints/test

With the payload

{ "constraint_expressions": [ { "resource_type": "EntityInstanceCountConstraintExpression", "operator": "<=", "count": 1, "target_resource_type": "Infra.Tier1" } ], "display_name": "test_t1_quota", "targets": [ { "path_prefix": "/orgs/default/projects/test/" } ], "constraint_expression": null, "target": null, "id": "test" }

To create a 1 T1 quota for test project.

from terraform-provider-nsxt.

msyretis avatar msyretis commented on September 17, 2024

Hello both, thanks for your responses.
I played around with the provider for vpc, however I must admit, I have not found a way to create a VPC through it. I understand that the multi-tenancy is handled by the nsxt provider, through the nsxt_policy_project, I assume IP blocks are through nsxt_policy_ip_block, but I cannot find how do add the external project ip block, and how to create a VPC.

any pointers you can offer?

thanks
Mel

from terraform-provider-nsxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.