forked from GoogleCloudPlatform/cloud-foundation-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve output type when generating metadata without --generate-outp…
…ut-type flag
- Loading branch information
Showing
6 changed files
with
99 additions
and
2 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
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
17 changes: 17 additions & 0 deletions
17
cli/testdata/bpmetadata/metadata/interfaces_with_full_output_types_metadata.yaml
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,17 @@ | ||
apiVersion: blueprints.cloud.google.com/v1alpha1 | ||
kind: BlueprintMetadata | ||
metadata: | ||
name: terraform-google-network | ||
spec: | ||
interfaces: | ||
outputs: | ||
- name: cluster_id | ||
description: Cluster ID | ||
type: string | ||
- name: endpoint | ||
description: Cluster endpoint | ||
type: | ||
- list | ||
- - object: | ||
- host: string | ||
port: number |
16 changes: 16 additions & 0 deletions
16
cli/testdata/bpmetadata/metadata/interfaces_with_partial_output_types_metadata.yaml
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,16 @@ | ||
apiVersion: blueprints.cloud.google.com/v1alpha1 | ||
kind: BlueprintMetadata | ||
metadata: | ||
name: terraform-google-network | ||
spec: | ||
interfaces: | ||
outputs: | ||
- name: cluster_id | ||
description: Cluster ID | ||
- name: endpoint | ||
description: Cluster endpoint | ||
type: | ||
- list | ||
- - object: | ||
- host: string | ||
port: number |
2 changes: 1 addition & 1 deletion
2
...ta/interfaces_without_types_metadata.yaml → ...rfaces_without_output_types_metadata.yaml
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