Git Product home page Git Product logo

terraform-provider-pureport's Introduction

Pureport Ansible Collections

This repository represents various Ansible Collections for interaction with Pureport & Pureport's ReST API.

Pureport provides the following collections:

  • pureport.fabric - A collection of modules that directly interact with the Pureport ReST API.
  • pureport.network - A collection of roles for building cloud native networks.
  • pureport.aws - A collection of AWS patched modules for handling DirectConnect automation.

terraform-provider-pureport's People

Contributors

cgriggs01 avatar joshdcox avatar kevinkirkup avatar privateip avatar

Watchers

 avatar  avatar

Forkers

kevsmith

terraform-provider-pureport's Issues

Getting error The provider provider.pureport does not support resource type "pureport_oracle_connection"

I am getting error:

Error: Invalid resource type

  on C-01-oci-network.tf line 430, in resource "pureport_oracle_connection" "main":
 430: resource "pureport_oracle_connection" "main" {

The provider provider.pureport does not support resource type
"pureport_oracle_connection".

Code:

provider "pureport" {
}


data "pureport_accounts" "main" {
  filter {
    name   = "Name"
    values = ["Imran Nayer"]
  }
}

data "pureport_locations" "washington" {
  filter {
    name   = "Name"
    values = ["Washingto.*"]
  }
}

resource "pureport_network" "main" {
  name         = "${var.prefix}-network"
  description  = "My Custom Network"
  account_href = data.pureport_accounts.main.accounts.0.href
  tags         = var.labels
}

data "pureport_cloud_regions" "main" {
  filter {
    name = "DisplayName"
    values = ["Ashburn"]
  }
}

resource "pureport_oracle_connection" "main" {
  name = "${var.prefix}-${var.oci_region}-fastconnect"
  speed = "1000"
  location_href       = data.pureport_locations.washington.locations.0.href
  network_href        = pureport_network.main.href
  cloud_region_href = data.pureport_cloud_regions.main.regions.0.href

  primary_ocid = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_1.id
  secondary_ocid = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_1.id

  bgp_peering {
    availability_domain = "PRIMARY"
    pureport_subnet = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_1.cross_connect_mappings[0].customer_bgp_peering_ip        #"169.254.24.1/30"
    customer_subnet = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_1.cross_connect_mappings[0].oracle_bgp_peering_ip        #"169.254.24.2/30"
  }

  bgp_peering {
    availability_domain = "SECONDARY"
    pureport_subnet = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_2.cross_connect_mappings[0].customer_bgp_peering_ip        #"169.254.24.1/30"
    customer_subnet = oci_core_virtual_circuit.oci_to_pure_virtual_circuit_2.cross_connect_mappings[0].oracle_bgp_peering_ip        #"169.254.24.2/30"
  }
}

Terraform Versions:

Terraform v0.12.21
+ provider.azurerm v2.40.0
+ provider.google v3.51.0
+ provider.google-beta v3.51.0
+ provider.null v2.1.2
+ provider.oci v4.6.0
+ provider.pureport v1.1.9
+ provider.random v3.0.0

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.