Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add fields to version metadata for onboarding fix #4348

Merged
merged 4 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions ibm/service/catalogmanagement/data_source_ibm_cm_offering.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,110 @@ func DataSourceIBMCmOffering() *schema.Resource {
Computed: true,
Description: "Version source URL.",
},
"working_directory": &schema.Schema{
Type: schema.TypeString,
benbuchanan marked this conversation as resolved.
Show resolved Hide resolved
Computed: true,
Description: "Working directory of source files.",
},
"example_name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Working directory of source files.",
},
"start_deploy_time": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "The time validation started.",
},
"end_deploy_time": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "The time validation ended.",
},
"est_deploy_time": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "The estimated time validation takes.",
},
"usage": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Usage text for the version.",
},
"usage_template": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Usage text for the version.",
},
"modules": &schema.Schema{
Type: schema.TypeList,
Computed: true,
Description: "Terraform modules.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Name of the module.",
},
"source": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Source of the module.",
},
"offering_reference": &schema.Schema{
Type: schema.TypeList,
Computed: true,
Description: "Terraform modules.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Name of the offering module.",
},
"id": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "ID of the offering module.",
},
"kind": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Kind of the offeringmodule.",
},
"version": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Version of the offering module.",
},
"flavor": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Flavor of the module.",
},
"flavors": &schema.Schema{
Type: schema.TypeList,
Computed: true,
Description: "Flavors of the module.",
Elem: &schema.Schema{Type: schema.TypeString},
},
"catalog_id": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Catalog ID of the module reference.",
},
"metadata": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Metadata of the module.",
},
},
},
},
},
},
},
"version_name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Expand Down
Loading