Giter VIP home page Giter VIP logo

terraform-oci-drg's People

Contributors

snafuz avatar thpham avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

terraform-oci-drg's Issues

improve naming for RPC

Community note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Provide a way to assign a descriptive name to Remote Peering Connections

handle an existing DRG

Add the possibility to handle an existing Dynamic Routing Gateway, wrapping it in the module.

Allow the creation of multiple RPCs

Currently only a single remote peering connection can be created and attached to the DRG.
We should have the ability to define a list of RPCs variables

Allow VPC attachment to a DRG located in another compartment

Community note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

In the context of VPC attachments to a DRG which is in another compartment (because potentially managed by other Network dept.), we would like to be able to use this module close to where we create the VPCs which will be attached to it. Therefore, beside the policies statements* required to do the attachments, we would need to adapt the current code with the terraform proposition below.

Note:

policy statements required to attach VPCs in another compartment than the DRG.

Allow group '<group-name>' to use drg in compartment '<drg-cmp-ocid>',
Allow group '<group-name>' to manage drg-route-tables in compartment '<drg-cmp-ocid>',
Allow group '<group-name>' to manage drg-attachment in compartment '<drg-cmp-ocid>'

New or existing resource(s)

  • add a new variable drg_compartment_id which is null by default
  • modify the datasource data.oci_core_drgs.drg_data to use it in case the DRG is in another compartment.

Example Terraform configuration

data "oci_core_drgs" "drg_data" {
  compartment_id = coalesce(var.drg_compartment_id, var.compartment_id)

  filter {
    name   = "id"
    values = [var.drg_id == null ? "none" : var.drg_id]
  }

}

References

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.