Giter VIP home page Giter VIP logo

terraform-ibm-modules / terraform-ibm-landing-zone-vsi Goto Github PK

View Code? Open in Web Editor NEW
2.0 18.0 8.0 1.01 MB

Creates virtual server instances (VSI) across multiple subnets with any number of block storage volumes that are connected by any number of load balancers

License: Apache License 2.0

HCL 66.30% Go 4.70% Shell 28.99%
core-team ibm-cloud landing-zone slz terraform terraform-module slz-vsi graduated supported

terraform-ibm-landing-zone-vsi's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-ibm-landing-zone-vsi's Issues

Ability to restore VSI from snapshot consistency group

Description

A VSI created using terraform, we would like to restore a VSI retaining the primary IP address, VSI tags, VSI name, VSI Hostname.
Restore from a snapshot consistency group snapshot (includes boot and data)
Get the VSI to a previous state by retaining IP address / Network interface, VSI tags, VSI name, VSI Hostname
Needs to be available for customers to consume via a deployable architecture and/or IBM Cloud Schematics

New or affected modules

resource "ibm_is_instance" "vsi" {

By submitting this issue, you agree to follow our Code of Conduct

Leverage https://github.com/terraform-ibm-modules/terraform-ibm-security-group

Description

What:

Goal:

add an example creating vsis with secondary interfaces

Description

There are some limitations when using secondary interfaces which are not obvious at first glance (eg. matching zones in subnets and secondary_subnets), so it would be good to have an example creating 3 vsis across 3 zones, each with secondary interfaces

Error while creating network load balancer member

Affected modules

  • terraform-ibm-landing-zone-vsi

Terraform CLI and Terraform provider versions

  • Terraform version: Terraform v1.5.7
  • Provider version: registry.terraform.io/ibm-cloud/ibm v1.63.0

Terraform output

terraform_outout.txt

Debug output

Expected behavior

NLB Load Balancer Backend Pool should be attached with the generated VSIs from the module.

Actual behavior

terraform apply fails with above attached message:
"code": "member_invalid_nlb_target",
"message": "Network load balancer members must be specified with either id or href or crn."

Steps to reproduce (including links and screen captures)

Using this terraform configuration during terraform apply.
vsi_terraform.txt

Anything else

Any suggestions appreciated. Thanks!

By submitting this issue, you agree to follow our Code of Conduct

Resource group for VSI data volumes

Description

Currently the data volumes created by the module are provisioned in Default resource group, ignoring the VSI RG and not allowing to specify one for the data volume.

The module should use the resource group provided in VSI attributes or support a resource_group in data volume structure.

New or affected modules

  • storage.tf - ibm_is_volume resource should use var.resource_group_id or RG provided in the storage volume variable structure.
  • variables.tf - if resource_group attribute is added to block_storage_volumes structure

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.