mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-09 08:00:41 -05:00
* command: new command, terraform add, generates resource templates terraform add ADDRESS generates a resource configuration template with all required (and optionally optional) attributes set to null. This can optionally also pre-populate nonsesitive attributes with values from an existing resource of the same type in state (sensitive vals will be populated with null and a comment indicating sensitivity) * website: terraform add documentation
14 lines
235 B
HCL
14 lines
235 B
HCL
terraform {
|
|
required_providers {
|
|
test = {
|
|
source = "hashicorp/test"
|
|
}
|
|
othertest = {
|
|
source = "happycorp/test"
|
|
}
|
|
}
|
|
}
|
|
|
|
resource "test_instance" "exists" {
|
|
// I exist!
|
|
} |