Giter Club home page Giter Club logo

terraform-ibm-resource-group's Introduction

Resource group module

Stable (With quality checks) pre-commit latest release Renovate enabled semantic-release Catalog release

This module returns the ID for the name of a resource group. It can also create a group from a name and return the ID.

Overview

terraform-ibm-resource-group

Usage

Create new Resource group:

module "resource_group" {
  source              = "terraform-ibm-modules/resource-group/ibm"
  version             = "X.X.X" # Replace "X.X.X" with a release version to lock into a specific release
  resource_group_name = "new-resource-group"
}

Return ID of an existing Resource group:

module "resource_group" {
  source                       = "terraform-ibm-modules/resource-group/ibm"
  version                      = "X.X.X" # Replace "X.X.X" with a release version to lock into a specific release
  existing_resource_group_name = "existing-resource-group"
}

Required IAM access policies

You need the following permissions to run this module.

  • Account Management
    • All Account Management Services service
      • Administrator platform access

Requirements

Name Version
terraform >= 1.0.0, <1.7.0
ibm >= 1.49.0, < 2.0.0

Modules

No modules.

Resources

Name Type
ibm_resource_group.resource_group resource
ibm_resource_group.existing_resource_group data source

Inputs

Name Description Type Default Required
existing_resource_group_name Name of the existing resource group. Required if not creating new resource group string null no
resource_group_name Name of the resource group to create. Required if not using existing resource group string null no

Outputs

Name Description
resource_group_id Resource group ID
resource_group_name Resource group name

Contributing

You can report issues and request features for this module in GitHub issues in the module repo. See Report an issue or request a feature.

To set up your local development environment, see Local development setup in the project documentation.

terraform-ibm-resource-group's People

Contributors

akocbek avatar daniel-butler-irl avatar dishankkalra23 avatar mounika-nalla avatar ocofaigh avatar sirspidey avatar terraform-ibm-modules-ops avatar vburckhardt avatar

Stargazers

 avatar

Watchers

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

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.