Giter VIP home page Giter VIP logo

terraform-aci-endpoint-security-group's Introduction

Tests

This module is no longer maintained as it has been integrated into the nac-aci module.

Terraform ACI Endpoint Security Group Module

Description

Location in GUI: Tenants » XXX » Application Profiles » XXX » Endpoint Security Groups

Examples

module "aci_endpoint_security_group" {
  source  = "netascode/endpoint-security-group/aci"
  version = ">= 0.2.3"

  name                        = "ESG1"
  description                 = "My Description"
  tenant                      = "ABC"
  application_profile         = "AP1"
  vrf                         = "VRF1"
  shutdown                    = false
  intra_esg_isolation         = true
  preferred_group             = true
  contract_consumers          = ["CON1"]
  contract_providers          = ["CON1"]
  contract_imported_consumers = ["IMPORTED-CON1"]
  contract_intra_esgs         = ["CON1"]
  esg_contract_masters = [
    {
      tenant                  = "TF"
      application_profile     = "AP1"
      endpoint_security_group = "ESG_MASTER"
    }
  ]
  tag_selectors = [
    {
      key      = "key1"
      operator = "contains"
      value    = "value1"
    },
    {
      key      = "key2"
      operator = "equals"
      value    = "value2"
    },
    {
      key      = "key3"
      operator = "regex"
      value    = "value3"
    },
    {
      key   = "key4"
      value = "value4"
    }
  ]
  epg_selectors = [
    {
      tenant              = "TF"
      application_profile = "AP1"
      endpoint_group      = "EPG1"
    }
  ]
  ip_subnet_selectors = [
    {
      value = "1.1.1.0/24"
    },
    {
      value = "1.1.2.0/24"
    },
    {
      value = "1.1.3.0/24"
    },
    {
      value       = "1.1.4.0/24"
      description = "foo"
    }
  ]
}

Requirements

Name Version
terraform >= 1.3.0
aci >= 2.0.0

Providers

Name Version
aci >= 2.0.0

Inputs

Name Description Type Default Required
name Endpoint security group name. string n/a yes
tenant Tenant name. string n/a yes
application_profile Application profile name. string n/a yes
description Description. string "" no
vrf VRF name. string n/a yes
shutdown Shutdown. bool false no
intra_esg_isolation Intra ESG isolation. bool false no
preferred_group Preferred group membership. bool false no
contract_consumers List of contract consumers. list(string) [] no
contract_providers List of contract providers. list(string) [] no
contract_imported_consumers List of imported contract consumers. list(string) [] no
contract_intra_esgs List of intra-ESG contracts. list(string) [] no
esg_contract_masters List of ESG contract masters.
list(object({
tenant = string
application_profile = string
endpoint_security_group = string
}))
[] no
tag_selectors List of tag selectors. Choices operator: contains, equals, regex. Default value operator: equals.
list(object({
key = string
operator = optional(string, "equals")
value = string
description = optional(string, "")
}))
[] no
epg_selectors List of EPG selectors.
list(object({
tenant = string
application_profile = string
endpoint_group = string
description = optional(string, "")
}))
[] no
ip_subnet_selectors List of IP subnet selectors.
list(object({
value = string
description = optional(string, "")
}))
[] no

Outputs

Name Description
dn Distinguished name of fvESg object.
name Endpoint security group name.
tenant Tenant name.
application_profile Application profile name.
vrf VRF name.

Resources

Name Type
aci_rest_managed.fvEPSelector resource
aci_rest_managed.fvEPgSelector resource
aci_rest_managed.fvESg resource
aci_rest_managed.fvRsCons resource
aci_rest_managed.fvRsConsIf resource
aci_rest_managed.fvRsIntraEpg resource
aci_rest_managed.fvRsProv resource
aci_rest_managed.fvRsScope resource
aci_rest_managed.fvRsSecInherited resource
aci_rest_managed.fvTagSelector resource

terraform-aci-endpoint-security-group's People

Contributors

danischm avatar dependabot[bot] avatar vaneuk avatar conmurphy avatar

Watchers

 avatar  avatar

Forkers

ryanoatz99

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.