Skip to content

A general usage Terraform module template. Feel free to use it as the project's starting point.

License

Notifications You must be signed in to change notification settings

opsd-io/terraform-module-template

Repository files navigation

OPSdiy - the effortless way of managing cloud infrastructure.

terraform-module-template

Introduction

What does the module provide?

Usage

module "module_name" {
  source = "github.com/opsd-io/terraform-module-template?ref=VERSION"

  name = "module-template"
  size = 9000
}

IMPORTANT: Make sure not to pin to master because there may be breaking changes between releases.

Requirements

Name Version
terraform >= 1.5.5

Providers

Name Version
terraform n/a

Modules

No modules.

Resources

Name Type
terraform_data.main resource

Inputs

Name Description Type Default Required
name A name for the test resource. string n/a yes
parent_id The ID of the parent resource. Change will trigger a recreation. string null no
size A size for the test resource in MiB. number 256 no

Outputs

Name Description
byte_size The size of the resource, in bytes.
full_name The full name of the resource.
id A string value unique to the resource instance.

Examples of usage

Do you want to see how the module works? See all the usage examples.

Related modules

The list of related modules (if present).

Contributing

If you are interested in contributing to the project, see see our guide.

Support

If you have a problem with the module or want to propose a new feature, you can report it via the project's (Github) issue tracker.

If you want to discuss something in person, you can join our community on Slack.

License

Apache License 2.0

About

A general usage Terraform module template. Feel free to use it as the project's starting point.

Resources

License

Stars

Watchers

Forks

Languages