-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add contributor documentation for resource metadata
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: "MMv1 metadata reference" | ||
weight: 35 | ||
--- | ||
|
||
# MMv1 metadata reference | ||
|
||
This page documents all properties for metadata. | ||
|
||
## Required | ||
|
||
### `resource` | ||
|
||
The name of the Terraform resource e.g., "google_cloudfunctions2_function". | ||
|
||
### `generation_type` | ||
|
||
The generation method used to create the Terraform resource e.g., "mmv1", "dcl", "handwritten". | ||
|
||
## Optional | ||
|
||
### `api_service_name` | ||
|
||
The base name of the API used for this resource e.g., "cloudfunctions.googleapis.com". | ||
|
||
### `api_version` | ||
|
||
The version of the API used for this resource e.g., "v2". | ||
|
||
### `api_resource_type_kind` | ||
|
||
The API "resource type kind" used for this resource e.g., "Function". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters