diff --git a/docs/data-sources/robomaker_fleet.md b/docs/data-sources/robomaker_fleet.md deleted file mode 100644 index 6af2030a2..000000000 --- a/docs/data-sources/robomaker_fleet.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_fleet Data Source - terraform-provider-awscc" -subcategory: "" -description: |- - Data Source schema for AWS::RoboMaker::Fleet ---- - -# awscc_robomaker_fleet (Data Source) - -Data Source schema for AWS::RoboMaker::Fleet - - - - -## Schema - -### Required - -- `id` (String) Uniquely identifies the resource. - -### Read-Only - -- `arn` (String) -- `name` (String) The name of the fleet. -- `tags` (Map of String) A key-value pair to associate with a resource. diff --git a/docs/data-sources/robomaker_fleets.md b/docs/data-sources/robomaker_fleets.md deleted file mode 100644 index 79f1afef4..000000000 --- a/docs/data-sources/robomaker_fleets.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_fleets Data Source - terraform-provider-awscc" -subcategory: "" -description: |- - Plural Data Source schema for AWS::RoboMaker::Fleet ---- - -# awscc_robomaker_fleets (Data Source) - -Plural Data Source schema for AWS::RoboMaker::Fleet - - - - -## Schema - -### Read-Only - -- `id` (String) Uniquely identifies the data source. -- `ids` (Set of String) Set of Resource Identifiers. diff --git a/docs/data-sources/robomaker_robot.md b/docs/data-sources/robomaker_robot.md deleted file mode 100644 index bcdb86a62..000000000 --- a/docs/data-sources/robomaker_robot.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_robot Data Source - terraform-provider-awscc" -subcategory: "" -description: |- - Data Source schema for AWS::RoboMaker::Robot ---- - -# awscc_robomaker_robot (Data Source) - -Data Source schema for AWS::RoboMaker::Robot - - - - -## Schema - -### Required - -- `id` (String) Uniquely identifies the resource. - -### Read-Only - -- `architecture` (String) The target architecture of the robot. -- `arn` (String) -- `fleet` (String) The Amazon Resource Name (ARN) of the fleet. -- `greengrass_group_id` (String) The Greengrass group id. -- `name` (String) The name for the robot. -- `tags` (Map of String) A key-value pair to associate with a resource. diff --git a/docs/data-sources/robomaker_robots.md b/docs/data-sources/robomaker_robots.md deleted file mode 100644 index b7fd45750..000000000 --- a/docs/data-sources/robomaker_robots.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_robots Data Source - terraform-provider-awscc" -subcategory: "" -description: |- - Plural Data Source schema for AWS::RoboMaker::Robot ---- - -# awscc_robomaker_robots (Data Source) - -Plural Data Source schema for AWS::RoboMaker::Robot - - - - -## Schema - -### Read-Only - -- `id` (String) Uniquely identifies the data source. -- `ids` (Set of String) Set of Resource Identifiers. diff --git a/docs/resources/robomaker_fleet.md b/docs/resources/robomaker_fleet.md deleted file mode 100644 index f9b1c3a22..000000000 --- a/docs/resources/robomaker_fleet.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_fleet Resource - terraform-provider-awscc" -subcategory: "" -description: |- - AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments. ---- - -# awscc_robomaker_fleet (Resource) - -AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments. - - - - -## Schema - -### Optional - -- `name` (String) The name of the fleet. -- `tags` (Map of String) A key-value pair to associate with a resource. - -### Read-Only - -- `arn` (String) -- `id` (String) Uniquely identifies the resource. - -## Import - -Import is supported using the following syntax: - -```shell -$ terraform import awscc_robomaker_fleet.example "arn" -``` diff --git a/docs/resources/robomaker_robot.md b/docs/resources/robomaker_robot.md deleted file mode 100644 index 60245e0db..000000000 --- a/docs/resources/robomaker_robot.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "awscc_robomaker_robot Resource - terraform-provider-awscc" -subcategory: "" -description: |- - AWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot. ---- - -# awscc_robomaker_robot (Resource) - -AWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot. - - - - -## Schema - -### Required - -- `architecture` (String) The target architecture of the robot. -- `greengrass_group_id` (String) The Greengrass group id. - -### Optional - -- `fleet` (String) The Amazon Resource Name (ARN) of the fleet. -- `name` (String) The name for the robot. -- `tags` (Map of String) A key-value pair to associate with a resource. - -### Read-Only - -- `arn` (String) -- `id` (String) Uniquely identifies the resource. - -## Import - -Import is supported using the following syntax: - -```shell -$ terraform import awscc_robomaker_robot.example "arn" -``` diff --git a/internal/aws/robomaker/fleet_plural_data_source_gen.go b/internal/aws/robomaker/fleet_plural_data_source_gen.go deleted file mode 100644 index 57c50e8e0..000000000 --- a/internal/aws/robomaker/fleet_plural_data_source_gen.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/plural-data-source/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-framework/datasource" - "github.com/hashicorp/terraform-plugin-framework/datasource/schema" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddDataSourceFactory("awscc_robomaker_fleets", fleetsDataSource) -} - -// fleetsDataSource returns the Terraform awscc_robomaker_fleets data source. -// This Terraform data source corresponds to the CloudFormation AWS::RoboMaker::Fleet resource. -func fleetsDataSource(ctx context.Context) (datasource.DataSource, error) { - attributes := map[string]schema.Attribute{ - "id": schema.StringAttribute{ - Description: "Uniquely identifies the data source.", - Computed: true, - }, - "ids": schema.SetAttribute{ - Description: "Set of Resource Identifiers.", - ElementType: types.StringType, - Computed: true, - }, - } - - schema := schema.Schema{ - Description: "Plural Data Source schema for AWS::RoboMaker::Fleet", - Attributes: attributes, - } - - var opts generic.DataSourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Fleet").WithTerraformTypeName("awscc_robomaker_fleets") - opts = opts.WithTerraformSchema(schema) - - v, err := generic.NewPluralDataSource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/fleet_plural_data_source_gen_test.go b/internal/aws/robomaker/fleet_plural_data_source_gen_test.go deleted file mode 100644 index dfd038786..000000000 --- a/internal/aws/robomaker/fleet_plural_data_source_gen_test.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/plural-data-source/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "fmt" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerFleetsDataSource_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Fleet", "awscc_robomaker_fleets", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.EmptyDataSourceConfig(), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrSet(fmt.Sprintf("data.%s", td.ResourceName), "ids.#"), - ), - }, - }) -} diff --git a/internal/aws/robomaker/fleet_resource_gen.go b/internal/aws/robomaker/fleet_resource_gen.go deleted file mode 100644 index 77d291203..000000000 --- a/internal/aws/robomaker/fleet_resource_gen.go +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/resource/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - "regexp" - - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/resource" - "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/mapplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddResourceFactory("awscc_robomaker_fleet", fleetResource) -} - -// fleetResource returns the Terraform awscc_robomaker_fleet resource. -// This Terraform resource corresponds to the CloudFormation AWS::RoboMaker::Fleet resource. -func fleetResource(ctx context.Context) (resource.Resource, error) { - attributes := map[string]schema.Attribute{ /*START SCHEMA*/ - // Property: Arn - // CloudFormation resource type schema: - // - // { - // "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*", - // "type": "string" - // } - "arn": schema.StringAttribute{ /*START ATTRIBUTE*/ - Computed: true, - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.UseStateForUnknown(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Name - // CloudFormation resource type schema: - // - // { - // "description": "The name of the fleet.", - // "maxLength": 255, - // "minLength": 1, - // "pattern": "[a-zA-Z0-9_\\-]{1,255}$", - // "type": "string" - // } - "name": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The name of the fleet.", - Optional: true, - Computed: true, - Validators: []validator.String{ /*START VALIDATORS*/ - stringvalidator.LengthBetween(1, 255), - stringvalidator.RegexMatches(regexp.MustCompile("[a-zA-Z0-9_\\-]{1,255}$"), ""), - }, /*END VALIDATORS*/ - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.UseStateForUnknown(), - stringplanmodifier.RequiresReplaceIfConfigured(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Tags - // CloudFormation resource type schema: - // - // { - // "additionalProperties": false, - // "description": "A key-value pair to associate with a resource.", - // "patternProperties": { - // "": { - // "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", - // "maxLength": 256, - // "minLength": 1, - // "type": "string" - // } - // }, - // "type": "object" - // } - "tags": // Pattern: "" - schema.MapAttribute{ /*START ATTRIBUTE*/ - ElementType: types.StringType, - Description: "A key-value pair to associate with a resource.", - Optional: true, - Computed: true, - PlanModifiers: []planmodifier.Map{ /*START PLAN MODIFIERS*/ - mapplanmodifier.UseStateForUnknown(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - } /*END SCHEMA*/ - - // Corresponds to CloudFormation primaryIdentifier. - attributes["id"] = schema.StringAttribute{ - Description: "Uniquely identifies the resource.", - Computed: true, - PlanModifiers: []planmodifier.String{ - stringplanmodifier.UseStateForUnknown(), - }, - } - - schema := schema.Schema{ - Description: "AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments.", - Version: 1, - Attributes: attributes, - } - - var opts generic.ResourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Fleet").WithTerraformTypeName("awscc_robomaker_fleet") - opts = opts.WithTerraformSchema(schema) - opts = opts.WithAttributeNameMap(map[string]string{ - "arn": "Arn", - "name": "Name", - "tags": "Tags", - }) - - opts = opts.WithCreateTimeoutInMinutes(0).WithDeleteTimeoutInMinutes(0) - - opts = opts.WithUpdateTimeoutInMinutes(0) - - v, err := generic.NewResource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/fleet_resource_gen_test.go b/internal/aws/robomaker/fleet_resource_gen_test.go deleted file mode 100644 index 5acf722fc..000000000 --- a/internal/aws/robomaker/fleet_resource_gen_test.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/resource/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerFleet_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Fleet", "awscc_robomaker_fleet", "test") - - td.ResourceTest(t, []resource.TestStep{ - { - Config: td.EmptyConfig(), - Check: resource.ComposeTestCheckFunc( - td.CheckExistsInAWS(), - ), - }, - { - ResourceName: td.ResourceName, - ImportState: true, - ImportStateVerify: true, - }, - }) -} - -func TestAccAWSRoboMakerFleet_disappears(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Fleet", "awscc_robomaker_fleet", "test") - - td.ResourceTest(t, []resource.TestStep{ - { - Config: td.EmptyConfig(), - Check: resource.ComposeTestCheckFunc( - td.CheckExistsInAWS(), - td.DeleteResource(), - ), - ExpectNonEmptyPlan: true, - }, - }) -} diff --git a/internal/aws/robomaker/fleet_singular_data_source_gen.go b/internal/aws/robomaker/fleet_singular_data_source_gen.go deleted file mode 100644 index a845fa056..000000000 --- a/internal/aws/robomaker/fleet_singular_data_source_gen.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/singular-data-source/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-framework/datasource" - "github.com/hashicorp/terraform-plugin-framework/datasource/schema" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddDataSourceFactory("awscc_robomaker_fleet", fleetDataSource) -} - -// fleetDataSource returns the Terraform awscc_robomaker_fleet data source. -// This Terraform data source corresponds to the CloudFormation AWS::RoboMaker::Fleet resource. -func fleetDataSource(ctx context.Context) (datasource.DataSource, error) { - attributes := map[string]schema.Attribute{ /*START SCHEMA*/ - // Property: Arn - // CloudFormation resource type schema: - // - // { - // "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*", - // "type": "string" - // } - "arn": schema.StringAttribute{ /*START ATTRIBUTE*/ - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Name - // CloudFormation resource type schema: - // - // { - // "description": "The name of the fleet.", - // "maxLength": 255, - // "minLength": 1, - // "pattern": "[a-zA-Z0-9_\\-]{1,255}$", - // "type": "string" - // } - "name": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The name of the fleet.", - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Tags - // CloudFormation resource type schema: - // - // { - // "additionalProperties": false, - // "description": "A key-value pair to associate with a resource.", - // "patternProperties": { - // "": { - // "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", - // "maxLength": 256, - // "minLength": 1, - // "type": "string" - // } - // }, - // "type": "object" - // } - "tags": // Pattern: "" - schema.MapAttribute{ /*START ATTRIBUTE*/ - ElementType: types.StringType, - Description: "A key-value pair to associate with a resource.", - Computed: true, - }, /*END ATTRIBUTE*/ - } /*END SCHEMA*/ - - attributes["id"] = schema.StringAttribute{ - Description: "Uniquely identifies the resource.", - Required: true, - } - - schema := schema.Schema{ - Description: "Data Source schema for AWS::RoboMaker::Fleet", - Attributes: attributes, - } - - var opts generic.DataSourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Fleet").WithTerraformTypeName("awscc_robomaker_fleet") - opts = opts.WithTerraformSchema(schema) - opts = opts.WithAttributeNameMap(map[string]string{ - "arn": "Arn", - "name": "Name", - "tags": "Tags", - }) - - v, err := generic.NewSingularDataSource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/fleet_singular_data_source_gen_test.go b/internal/aws/robomaker/fleet_singular_data_source_gen_test.go deleted file mode 100644 index a8718437c..000000000 --- a/internal/aws/robomaker/fleet_singular_data_source_gen_test.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/singular-data-source/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "fmt" - "regexp" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerFleetDataSource_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Fleet", "awscc_robomaker_fleet", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.DataSourceWithEmptyResourceConfig(), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrPair(fmt.Sprintf("data.%s", td.ResourceName), "id", td.ResourceName, "id"), - resource.TestCheckResourceAttrPair(fmt.Sprintf("data.%s", td.ResourceName), "arn", td.ResourceName, "arn"), - ), - }, - }) -} - -func TestAccAWSRoboMakerFleetDataSource_NonExistent(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Fleet", "awscc_robomaker_fleet", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.DataSourceWithNonExistentIDConfig(), - ExpectError: regexp.MustCompile("Not Found"), - }, - }) -} diff --git a/internal/aws/robomaker/robot_plural_data_source_gen.go b/internal/aws/robomaker/robot_plural_data_source_gen.go deleted file mode 100644 index 74d8812bf..000000000 --- a/internal/aws/robomaker/robot_plural_data_source_gen.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/plural-data-source/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-framework/datasource" - "github.com/hashicorp/terraform-plugin-framework/datasource/schema" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddDataSourceFactory("awscc_robomaker_robots", robotsDataSource) -} - -// robotsDataSource returns the Terraform awscc_robomaker_robots data source. -// This Terraform data source corresponds to the CloudFormation AWS::RoboMaker::Robot resource. -func robotsDataSource(ctx context.Context) (datasource.DataSource, error) { - attributes := map[string]schema.Attribute{ - "id": schema.StringAttribute{ - Description: "Uniquely identifies the data source.", - Computed: true, - }, - "ids": schema.SetAttribute{ - Description: "Set of Resource Identifiers.", - ElementType: types.StringType, - Computed: true, - }, - } - - schema := schema.Schema{ - Description: "Plural Data Source schema for AWS::RoboMaker::Robot", - Attributes: attributes, - } - - var opts generic.DataSourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Robot").WithTerraformTypeName("awscc_robomaker_robots") - opts = opts.WithTerraformSchema(schema) - - v, err := generic.NewPluralDataSource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/robot_plural_data_source_gen_test.go b/internal/aws/robomaker/robot_plural_data_source_gen_test.go deleted file mode 100644 index 5fa9631b7..000000000 --- a/internal/aws/robomaker/robot_plural_data_source_gen_test.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/plural-data-source/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "fmt" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerRobotsDataSource_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Robot", "awscc_robomaker_robots", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.EmptyDataSourceConfig(), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrSet(fmt.Sprintf("data.%s", td.ResourceName), "ids.#"), - ), - }, - }) -} diff --git a/internal/aws/robomaker/robot_resource_gen.go b/internal/aws/robomaker/robot_resource_gen.go deleted file mode 100644 index 036992d81..000000000 --- a/internal/aws/robomaker/robot_resource_gen.go +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/resource/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/resource" - "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/mapplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddResourceFactory("awscc_robomaker_robot", robotResource) -} - -// robotResource returns the Terraform awscc_robomaker_robot resource. -// This Terraform resource corresponds to the CloudFormation AWS::RoboMaker::Robot resource. -func robotResource(ctx context.Context) (resource.Resource, error) { - attributes := map[string]schema.Attribute{ /*START SCHEMA*/ - // Property: Architecture - // CloudFormation resource type schema: - // - // { - // "description": "The target architecture of the robot.", - // "enum": [ - // "X86_64", - // "ARM64", - // "ARMHF" - // ], - // "type": "string" - // } - "architecture": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The target architecture of the robot.", - Required: true, - Validators: []validator.String{ /*START VALIDATORS*/ - stringvalidator.OneOf( - "X86_64", - "ARM64", - "ARMHF", - ), - }, /*END VALIDATORS*/ - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.RequiresReplace(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Arn - // CloudFormation resource type schema: - // - // { - // "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*", - // "type": "string" - // } - "arn": schema.StringAttribute{ /*START ATTRIBUTE*/ - Computed: true, - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.UseStateForUnknown(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Fleet - // CloudFormation resource type schema: - // - // { - // "description": "The Amazon Resource Name (ARN) of the fleet.", - // "maxLength": 1224, - // "minLength": 1, - // "type": "string" - // } - "fleet": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The Amazon Resource Name (ARN) of the fleet.", - Optional: true, - Computed: true, - Validators: []validator.String{ /*START VALIDATORS*/ - stringvalidator.LengthBetween(1, 1224), - }, /*END VALIDATORS*/ - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.UseStateForUnknown(), - stringplanmodifier.RequiresReplaceIfConfigured(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: GreengrassGroupId - // CloudFormation resource type schema: - // - // { - // "description": "The Greengrass group id.", - // "maxLength": 1224, - // "minLength": 1, - // "type": "string" - // } - "greengrass_group_id": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The Greengrass group id.", - Required: true, - Validators: []validator.String{ /*START VALIDATORS*/ - stringvalidator.LengthBetween(1, 1224), - }, /*END VALIDATORS*/ - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.RequiresReplace(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Name - // CloudFormation resource type schema: - // - // { - // "description": "The name for the robot.", - // "maxLength": 255, - // "minLength": 1, - // "type": "string" - // } - "name": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The name for the robot.", - Optional: true, - Computed: true, - Validators: []validator.String{ /*START VALIDATORS*/ - stringvalidator.LengthBetween(1, 255), - }, /*END VALIDATORS*/ - PlanModifiers: []planmodifier.String{ /*START PLAN MODIFIERS*/ - stringplanmodifier.UseStateForUnknown(), - stringplanmodifier.RequiresReplaceIfConfigured(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - // Property: Tags - // CloudFormation resource type schema: - // - // { - // "additionalProperties": false, - // "description": "A key-value pair to associate with a resource.", - // "patternProperties": { - // "": { - // "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", - // "maxLength": 256, - // "minLength": 1, - // "type": "string" - // } - // }, - // "type": "object" - // } - "tags": // Pattern: "" - schema.MapAttribute{ /*START ATTRIBUTE*/ - ElementType: types.StringType, - Description: "A key-value pair to associate with a resource.", - Optional: true, - Computed: true, - PlanModifiers: []planmodifier.Map{ /*START PLAN MODIFIERS*/ - mapplanmodifier.UseStateForUnknown(), - }, /*END PLAN MODIFIERS*/ - }, /*END ATTRIBUTE*/ - } /*END SCHEMA*/ - - // Corresponds to CloudFormation primaryIdentifier. - attributes["id"] = schema.StringAttribute{ - Description: "Uniquely identifies the resource.", - Computed: true, - PlanModifiers: []planmodifier.String{ - stringplanmodifier.UseStateForUnknown(), - }, - } - - schema := schema.Schema{ - Description: "AWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot.", - Version: 1, - Attributes: attributes, - } - - var opts generic.ResourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Robot").WithTerraformTypeName("awscc_robomaker_robot") - opts = opts.WithTerraformSchema(schema) - opts = opts.WithAttributeNameMap(map[string]string{ - "architecture": "Architecture", - "arn": "Arn", - "fleet": "Fleet", - "greengrass_group_id": "GreengrassGroupId", - "name": "Name", - "tags": "Tags", - }) - - opts = opts.WithCreateTimeoutInMinutes(0).WithDeleteTimeoutInMinutes(0) - - opts = opts.WithUpdateTimeoutInMinutes(0) - - v, err := generic.NewResource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/robot_resource_gen_test.go b/internal/aws/robomaker/robot_resource_gen_test.go deleted file mode 100644 index ca42d1ad3..000000000 --- a/internal/aws/robomaker/robot_resource_gen_test.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/resource/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "regexp" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerRobot_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Robot", "awscc_robomaker_robot", "test") - - td.ResourceTest(t, []resource.TestStep{ - { - Config: td.EmptyConfig(), - ExpectError: regexp.MustCompile("Missing required argument"), - }, - }) -} diff --git a/internal/aws/robomaker/robot_singular_data_source_gen.go b/internal/aws/robomaker/robot_singular_data_source_gen.go deleted file mode 100644 index 2fb25b7ea..000000000 --- a/internal/aws/robomaker/robot_singular_data_source_gen.go +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/singular-data-source/main.go; DO NOT EDIT. - -package robomaker - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-framework/datasource" - "github.com/hashicorp/terraform-plugin-framework/datasource/schema" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-provider-awscc/internal/generic" - "github.com/hashicorp/terraform-provider-awscc/internal/registry" -) - -func init() { - registry.AddDataSourceFactory("awscc_robomaker_robot", robotDataSource) -} - -// robotDataSource returns the Terraform awscc_robomaker_robot data source. -// This Terraform data source corresponds to the CloudFormation AWS::RoboMaker::Robot resource. -func robotDataSource(ctx context.Context) (datasource.DataSource, error) { - attributes := map[string]schema.Attribute{ /*START SCHEMA*/ - // Property: Architecture - // CloudFormation resource type schema: - // - // { - // "description": "The target architecture of the robot.", - // "enum": [ - // "X86_64", - // "ARM64", - // "ARMHF" - // ], - // "type": "string" - // } - "architecture": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The target architecture of the robot.", - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Arn - // CloudFormation resource type schema: - // - // { - // "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*", - // "type": "string" - // } - "arn": schema.StringAttribute{ /*START ATTRIBUTE*/ - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Fleet - // CloudFormation resource type schema: - // - // { - // "description": "The Amazon Resource Name (ARN) of the fleet.", - // "maxLength": 1224, - // "minLength": 1, - // "type": "string" - // } - "fleet": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The Amazon Resource Name (ARN) of the fleet.", - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: GreengrassGroupId - // CloudFormation resource type schema: - // - // { - // "description": "The Greengrass group id.", - // "maxLength": 1224, - // "minLength": 1, - // "type": "string" - // } - "greengrass_group_id": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The Greengrass group id.", - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Name - // CloudFormation resource type schema: - // - // { - // "description": "The name for the robot.", - // "maxLength": 255, - // "minLength": 1, - // "type": "string" - // } - "name": schema.StringAttribute{ /*START ATTRIBUTE*/ - Description: "The name for the robot.", - Computed: true, - }, /*END ATTRIBUTE*/ - // Property: Tags - // CloudFormation resource type schema: - // - // { - // "additionalProperties": false, - // "description": "A key-value pair to associate with a resource.", - // "patternProperties": { - // "": { - // "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", - // "maxLength": 256, - // "minLength": 1, - // "type": "string" - // } - // }, - // "type": "object" - // } - "tags": // Pattern: "" - schema.MapAttribute{ /*START ATTRIBUTE*/ - ElementType: types.StringType, - Description: "A key-value pair to associate with a resource.", - Computed: true, - }, /*END ATTRIBUTE*/ - } /*END SCHEMA*/ - - attributes["id"] = schema.StringAttribute{ - Description: "Uniquely identifies the resource.", - Required: true, - } - - schema := schema.Schema{ - Description: "Data Source schema for AWS::RoboMaker::Robot", - Attributes: attributes, - } - - var opts generic.DataSourceOptions - - opts = opts.WithCloudFormationTypeName("AWS::RoboMaker::Robot").WithTerraformTypeName("awscc_robomaker_robot") - opts = opts.WithTerraformSchema(schema) - opts = opts.WithAttributeNameMap(map[string]string{ - "architecture": "Architecture", - "arn": "Arn", - "fleet": "Fleet", - "greengrass_group_id": "GreengrassGroupId", - "name": "Name", - "tags": "Tags", - }) - - v, err := generic.NewSingularDataSource(ctx, opts...) - - if err != nil { - return nil, err - } - - return v, nil -} diff --git a/internal/aws/robomaker/robot_singular_data_source_gen_test.go b/internal/aws/robomaker/robot_singular_data_source_gen_test.go deleted file mode 100644 index c845606c0..000000000 --- a/internal/aws/robomaker/robot_singular_data_source_gen_test.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Code generated by generators/singular-data-source/main.go; DO NOT EDIT. - -package robomaker_test - -import ( - "regexp" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-provider-awscc/internal/acctest" -) - -func TestAccAWSRoboMakerRobotDataSource_basic(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Robot", "awscc_robomaker_robot", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.EmptyDataSourceConfig(), - ExpectError: regexp.MustCompile("Missing required argument"), - }, - }) -} - -func TestAccAWSRoboMakerRobotDataSource_NonExistent(t *testing.T) { - td := acctest.NewTestData(t, "AWS::RoboMaker::Robot", "awscc_robomaker_robot", "test") - - td.DataSourceTest(t, []resource.TestStep{ - { - Config: td.DataSourceWithNonExistentIDConfig(), - ExpectError: regexp.MustCompile("Not Found"), - }, - }) -} diff --git a/internal/provider/all_schemas.hcl b/internal/provider/all_schemas.hcl index dfd47fe84..5faf86ad0 100644 --- a/internal/provider/all_schemas.hcl +++ b/internal/provider/all_schemas.hcl @@ -3752,10 +3752,20 @@ resource_schema "aws_resourcegroups_group" { resource_schema "aws_robomaker_fleet" { cloudformation_type_name = "AWS::RoboMaker::Fleet" + # Suppression Reason: Resource deprecate in favor of AWS IoT Greengrass Version 2 + # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-fleet.html + suppress_resource_generation = true + suppress_singular_data_source_generation = true + suppress_plural_data_source_generation = true } resource_schema "aws_robomaker_robot" { cloudformation_type_name = "AWS::RoboMaker::Robot" + # Suppression Reason: Resource deprecate in favor of AWS IoT Greengrass Version 2 + # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html + suppress_resource_generation = true + suppress_singular_data_source_generation = true + suppress_plural_data_source_generation = true } resource_schema "aws_robomaker_robot_application" { diff --git a/internal/provider/import_examples.go b/internal/provider/import_examples.go index bb207cd27..5d4329d35 100644 --- a/internal/provider/import_examples.go +++ b/internal/provider/import_examples.go @@ -815,8 +815,6 @@ //go:generate go run generators/import-examples/main.go -resource awscc_resourceexplorer2_index -identifier Arn -- ../../examples/resources/awscc_resourceexplorer2_index/import.sh //go:generate go run generators/import-examples/main.go -resource awscc_resourceexplorer2_view -identifier ViewArn -- ../../examples/resources/awscc_resourceexplorer2_view/import.sh //go:generate go run generators/import-examples/main.go -resource awscc_resourcegroups_group -identifier Name -- ../../examples/resources/awscc_resourcegroups_group/import.sh -//go:generate go run generators/import-examples/main.go -resource awscc_robomaker_fleet -identifier Arn -- ../../examples/resources/awscc_robomaker_fleet/import.sh -//go:generate go run generators/import-examples/main.go -resource awscc_robomaker_robot -identifier Arn -- ../../examples/resources/awscc_robomaker_robot/import.sh //go:generate go run generators/import-examples/main.go -resource awscc_robomaker_robot_application -identifier Arn -- ../../examples/resources/awscc_robomaker_robot_application/import.sh //go:generate go run generators/import-examples/main.go -resource awscc_robomaker_robot_application_version -identifier Arn -- ../../examples/resources/awscc_robomaker_robot_application_version/import.sh //go:generate go run generators/import-examples/main.go -resource awscc_robomaker_simulation_application -identifier Arn -- ../../examples/resources/awscc_robomaker_simulation_application/import.sh diff --git a/internal/provider/plural_data_sources.go b/internal/provider/plural_data_sources.go index d94f3ed0e..96c3db026 100644 --- a/internal/provider/plural_data_sources.go +++ b/internal/provider/plural_data_sources.go @@ -620,8 +620,6 @@ //go:generate go run generators/plural-data-source/main.go -data-source awscc_resourceexplorer2_indices -cftype AWS::ResourceExplorer2::Index -package resourceexplorer2 ../aws/resourceexplorer2/index_plural_data_source_gen.go ../aws/resourceexplorer2/index_plural_data_source_gen_test.go //go:generate go run generators/plural-data-source/main.go -data-source awscc_resourceexplorer2_views -cftype AWS::ResourceExplorer2::View -package resourceexplorer2 ../aws/resourceexplorer2/view_plural_data_source_gen.go ../aws/resourceexplorer2/view_plural_data_source_gen_test.go //go:generate go run generators/plural-data-source/main.go -data-source awscc_resourcegroups_groups -cftype AWS::ResourceGroups::Group -package resourcegroups ../aws/resourcegroups/group_plural_data_source_gen.go ../aws/resourcegroups/group_plural_data_source_gen_test.go -//go:generate go run generators/plural-data-source/main.go -data-source awscc_robomaker_fleets -cftype AWS::RoboMaker::Fleet -package robomaker ../aws/robomaker/fleet_plural_data_source_gen.go ../aws/robomaker/fleet_plural_data_source_gen_test.go -//go:generate go run generators/plural-data-source/main.go -data-source awscc_robomaker_robots -cftype AWS::RoboMaker::Robot -package robomaker ../aws/robomaker/robot_plural_data_source_gen.go ../aws/robomaker/robot_plural_data_source_gen_test.go //go:generate go run generators/plural-data-source/main.go -data-source awscc_robomaker_robot_applications -cftype AWS::RoboMaker::RobotApplication -package robomaker ../aws/robomaker/robot_application_plural_data_source_gen.go ../aws/robomaker/robot_application_plural_data_source_gen_test.go //go:generate go run generators/plural-data-source/main.go -data-source awscc_robomaker_simulation_applications -cftype AWS::RoboMaker::SimulationApplication -package robomaker ../aws/robomaker/simulation_application_plural_data_source_gen.go ../aws/robomaker/simulation_application_plural_data_source_gen_test.go //go:generate go run generators/plural-data-source/main.go -data-source awscc_rolesanywhere_crls -cftype AWS::RolesAnywhere::CRL -package rolesanywhere ../aws/rolesanywhere/crl_plural_data_source_gen.go ../aws/rolesanywhere/crl_plural_data_source_gen_test.go diff --git a/internal/provider/resources.go b/internal/provider/resources.go index 1d4d4e4a6..1195deb05 100644 --- a/internal/provider/resources.go +++ b/internal/provider/resources.go @@ -815,8 +815,6 @@ //go:generate go run generators/resource/main.go -resource awscc_resourceexplorer2_index -cfschema ../service/cloudformation/schemas/AWS_ResourceExplorer2_Index.json -package resourceexplorer2 -- ../aws/resourceexplorer2/index_resource_gen.go ../aws/resourceexplorer2/index_resource_gen_test.go //go:generate go run generators/resource/main.go -resource awscc_resourceexplorer2_view -cfschema ../service/cloudformation/schemas/AWS_ResourceExplorer2_View.json -package resourceexplorer2 -- ../aws/resourceexplorer2/view_resource_gen.go ../aws/resourceexplorer2/view_resource_gen_test.go //go:generate go run generators/resource/main.go -resource awscc_resourcegroups_group -cfschema ../service/cloudformation/schemas/AWS_ResourceGroups_Group.json -package resourcegroups -- ../aws/resourcegroups/group_resource_gen.go ../aws/resourcegroups/group_resource_gen_test.go -//go:generate go run generators/resource/main.go -resource awscc_robomaker_fleet -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_Fleet.json -package robomaker -- ../aws/robomaker/fleet_resource_gen.go ../aws/robomaker/fleet_resource_gen_test.go -//go:generate go run generators/resource/main.go -resource awscc_robomaker_robot -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_Robot.json -package robomaker -- ../aws/robomaker/robot_resource_gen.go ../aws/robomaker/robot_resource_gen_test.go //go:generate go run generators/resource/main.go -resource awscc_robomaker_robot_application -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_RobotApplication.json -package robomaker -- ../aws/robomaker/robot_application_resource_gen.go ../aws/robomaker/robot_application_resource_gen_test.go //go:generate go run generators/resource/main.go -resource awscc_robomaker_robot_application_version -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_RobotApplicationVersion.json -package robomaker -- ../aws/robomaker/robot_application_version_resource_gen.go ../aws/robomaker/robot_application_version_resource_gen_test.go //go:generate go run generators/resource/main.go -resource awscc_robomaker_simulation_application -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_SimulationApplication.json -package robomaker -- ../aws/robomaker/simulation_application_resource_gen.go ../aws/robomaker/simulation_application_resource_gen_test.go diff --git a/internal/provider/singular_data_sources.go b/internal/provider/singular_data_sources.go index 6a171088c..439c7ac1b 100644 --- a/internal/provider/singular_data_sources.go +++ b/internal/provider/singular_data_sources.go @@ -815,8 +815,6 @@ //go:generate go run generators/singular-data-source/main.go -data-source awscc_resourceexplorer2_index -cfschema ../service/cloudformation/schemas/AWS_ResourceExplorer2_Index.json -package resourceexplorer2 ../aws/resourceexplorer2/index_singular_data_source_gen.go ../aws/resourceexplorer2/index_singular_data_source_gen_test.go //go:generate go run generators/singular-data-source/main.go -data-source awscc_resourceexplorer2_view -cfschema ../service/cloudformation/schemas/AWS_ResourceExplorer2_View.json -package resourceexplorer2 ../aws/resourceexplorer2/view_singular_data_source_gen.go ../aws/resourceexplorer2/view_singular_data_source_gen_test.go //go:generate go run generators/singular-data-source/main.go -data-source awscc_resourcegroups_group -cfschema ../service/cloudformation/schemas/AWS_ResourceGroups_Group.json -package resourcegroups ../aws/resourcegroups/group_singular_data_source_gen.go ../aws/resourcegroups/group_singular_data_source_gen_test.go -//go:generate go run generators/singular-data-source/main.go -data-source awscc_robomaker_fleet -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_Fleet.json -package robomaker ../aws/robomaker/fleet_singular_data_source_gen.go ../aws/robomaker/fleet_singular_data_source_gen_test.go -//go:generate go run generators/singular-data-source/main.go -data-source awscc_robomaker_robot -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_Robot.json -package robomaker ../aws/robomaker/robot_singular_data_source_gen.go ../aws/robomaker/robot_singular_data_source_gen_test.go //go:generate go run generators/singular-data-source/main.go -data-source awscc_robomaker_robot_application -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_RobotApplication.json -package robomaker ../aws/robomaker/robot_application_singular_data_source_gen.go ../aws/robomaker/robot_application_singular_data_source_gen_test.go //go:generate go run generators/singular-data-source/main.go -data-source awscc_robomaker_robot_application_version -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_RobotApplicationVersion.json -package robomaker ../aws/robomaker/robot_application_version_singular_data_source_gen.go ../aws/robomaker/robot_application_version_singular_data_source_gen_test.go //go:generate go run generators/singular-data-source/main.go -data-source awscc_robomaker_simulation_application -cfschema ../service/cloudformation/schemas/AWS_RoboMaker_SimulationApplication.json -package robomaker ../aws/robomaker/simulation_application_singular_data_source_gen.go ../aws/robomaker/simulation_application_singular_data_source_gen_test.go