https://github.com/terraform-ibm-modules/terraform-ibm-bare-metal-vpc
Configure a Bare Metal Server for VPC
https://github.com/terraform-ibm-modules/terraform-ibm-bare-metal-vpc
baremetal core-team ibm-cloud terraform terraform-module
Last synced: 2 months ago
JSON representation
Configure a Bare Metal Server for VPC
- Host: GitHub
- URL: https://github.com/terraform-ibm-modules/terraform-ibm-bare-metal-vpc
- Owner: terraform-ibm-modules
- License: apache-2.0
- Created: 2025-01-22T09:18:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-08T08:48:42.000Z (2 months ago)
- Last Synced: 2025-03-08T09:31:50.703Z (2 months ago)
- Topics: baremetal, core-team, ibm-cloud, terraform, terraform-module
- Language: HCL
- Size: 48.8 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Bare Metal Server for VPC module
[-red)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
[](https://github.com/terraform-ibm-modules/terraform-ibm-bare-metal-vpc/releases/latest)
[](https://github.com/pre-commit/pre-commit)
[](https://renovatebot.com/)
[](https://github.com/semantic-release/semantic-release)TODO: Replace this with a description of the modules in this repo.
## Overview
* [terraform-ibm-bare-metal-vpc](#terraform-ibm-bare-metal-vpc)
* [Examples](./examples)
* [Advanced example](./examples/advanced)
* [Basic example](./examples/basic)
* [Contributing](#contributing)## terraform-ibm-bare-metal-vpc
### Usage
```hcl
terraform {
required_version = ">= 1.9.0"
required_providers {
ibm = {
source = "IBM-Cloud/ibm"
version = "X.Y.Z" # Lock into a provider version that satisfies the module constraints
}
}
}locals {
region = "us-south"
}provider "ibm" {
ibmcloud_api_key = "XXXXXXXXXX" # replace with apikey value
region = local.region
}module "module_template" {
source = "terraform-ibm-modules//ibm"
version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
region = local.region
name = "instance-name"
resource_group_id = "xxXXxxXXxXxXXXXxxXxxxXXXXxXXXXX" # Replace with the actual ID of resource group to use
}
```### Required access policies
### Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.9.0 |
| [ibm](#requirement\_ibm) | >= 1.71.2, < 2.0.0 |### Modules
No modules.
### Resources
| Name | Type |
|------|------|
| [ibm_resource_instance.cos_instance](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/resource_instance) | resource |### Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input\_name) | A descriptive name used to identify the resource instance. | `string` | n/a | yes |
| [plan](#input\_plan) | The name of the plan type supported by service. | `string` | `"standard"` | no |
| [resource\_group\_id](#input\_resource\_group\_id) | The ID of the resource group where you want to create the service. | `string` | n/a | yes |
| [resource\_tags](#input\_resource\_tags) | List of resource tag to associate with the instance. | `list(string)` | `[]` | no |### Outputs
| Name | Description |
|------|-------------|
| [account\_id](#output\_account\_id) | An alpha-numeric value identifying the account ID. |
| [crn](#output\_crn) | The CRN of the resource instance. |
| [guid](#output\_guid) | The GUID of the resource instance. |
| [id](#output\_id) | The unique identifier of the resource instance. |## 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](https://github.com/terraform-ibm-modules/.github/blob/main/.github/SUPPORT.md).
To set up your local development environment, see [Local development setup](https://terraform-ibm-modules.github.io/documentation/#/local-dev-setup) in the project documentation.