Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Resource: aws_imagebuilder_component (#16169)
* Add aws_imagebuilder_component * Add test for data_source_aws_imagebuilder_component * Add aws_imagebuilder_infrastructureconfiguration * Add aws_imagebuilder_recipe * Rename to aws_imagebuilder_infrastructure_configuration * Fix issue with infraconfig logging * Fix incorrect MaxItems on res * Fix S024 * Fix AWSR002 * Fix linting * [#11084] Fix the imagebuilder resource, add test and docs # Conflicts: # aws/provider.go * Fix incorrect import on error handling * Update to v2 SDK * Fix R004 lint issue * Remove changes to aws.erb * Add imagebuilder_distribution_configuration * Add imagebuilder_image_pipeline * fixed some lint issues and fixed terminate_instance_on_failure not being set on create * description can be updated in place * service/imagebuilder: Remove non-aws_imagebuilder_component files * New Resource: aws_imagebuilder_component Reference: #11084 Reference: #13315 Changes: ``` * **New Data Source:** `aws_imagebuilder_component` * **New Resource:** `aws_imagebuilder_component` ``` Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAwsImageBuilderComponent_basic (18.98s) --- PASS: TestAccAwsImageBuilderComponent_ChangeDescription (19.15s) --- PASS: TestAccAwsImageBuilderComponent_Description (19.29s) --- PASS: TestAccAwsImageBuilderComponent_disappears (15.10s) --- PASS: TestAccAwsImageBuilderComponent_KmsKeyId (23.58s) --- PASS: TestAccAwsImageBuilderComponent_Platform_Windows (19.22s) --- PASS: TestAccAwsImageBuilderComponent_SupportedOsVersions (19.15s) --- PASS: TestAccAwsImageBuilderComponent_Tags (42.96s) --- PASS: TestAccAwsImageBuilderComponent_Uri (35.66s) --- PASS: TestAccAwsImageBuilderComponentDataSource_Arn (18.51s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAwsImageBuilderComponent_basic (24.13s) --- PASS: TestAccAwsImageBuilderComponent_ChangeDescription (23.39s) --- PASS: TestAccAwsImageBuilderComponent_Description (24.43s) --- PASS: TestAccAwsImageBuilderComponent_disappears (19.28s) --- PASS: TestAccAwsImageBuilderComponent_KmsKeyId (28.49s) --- PASS: TestAccAwsImageBuilderComponent_Platform_Windows (24.54s) --- PASS: TestAccAwsImageBuilderComponent_SupportedOsVersions (24.05s) --- PASS: TestAccAwsImageBuilderComponent_Tags (53.99s) --- PASS: TestAccAwsImageBuilderComponent_Uri (40.78s) --- PASS: TestAccAwsImageBuilderComponentDataSource_Arn (24.26s) ``` Output from sweeper in AWS Commercial: ``` 2020/11/12 16:58:32 [DEBUG] Running Sweepers for region (us-west-2): 2020/11/12 16:58:32 [DEBUG] Running Sweeper (aws_imagebuilder_component) in region (us-west-2) 2020/11/12 16:58:45 Sweeper Tests ran successfully: - aws_imagebuilder_component 2020/11/12 16:58:45 [DEBUG] Running Sweepers for region (us-east-1): 2020/11/12 16:58:45 [DEBUG] Running Sweeper (aws_imagebuilder_component) in region (us-east-1) 2020/11/12 16:58:46 Sweeper Tests ran successfully: - aws_imagebuilder_component ok github.com/terraform-providers/terraform-provider-aws/aws 18.223s ``` Output from sweeper in AWS GovCloud (US): ``` 2020/11/12 16:59:00 [DEBUG] Running Sweepers for region (us-gov-west-1): 2020/11/12 16:59:00 [DEBUG] Running Sweeper (aws_imagebuilder_component) in region (us-gov-west-1) 2020/11/12 16:59:03 Sweeper Tests ran successfully: - aws_imagebuilder_component ok github.com/terraform-providers/terraform-provider-aws/aws 5.004s ``` * resource/aws_imagebuilder_component: terrafmt fixes * tests/data-source/aws_imagebuilder_component: terrafmt fix * Apply suggestions from code review Co-authored-by: Dogers <[email protected]> Co-authored-by: Jakub Kania <[email protected]> Co-authored-by: Bill Schneider <[email protected]>
- Loading branch information