-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Emrserverless add image configuration #30398
Emrserverless add image configuration #30398
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @samwyma 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Additional test output:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @samwyma! 🚀
--- PASS: TestAccEMRServerlessApplication_basic (155.22s)
--- PASS: TestAccEMRServerlessApplication_network (156.82s)
--- PASS: TestAccEMRServerlessApplication_disappears (162.08s)
--- PASS: TestAccEMRServerlessApplication_maxCapacity (197.66s)
--- PASS: TestAccEMRServerlessApplication_initialCapacity (199.12s)
--- PASS: TestAccEMRServerlessApplication_arch (199.63s)
--- PASS: TestAccEMRServerlessApplication_tags (221.45s)
--- PASS: TestAccEMRServerlessApplication_imageConfiguration (958.93s)
--- PASS: TestAccImageBuilderContainerRecipe_disappears (179.39s)
--- PASS: TestAccImageBuilderContainerRecipeDataSource_arn (189.62s)
--- PASS: TestAccImageBuilderContainerRecipesDataSource_filter (199.13s)
--- PASS: TestAccImageBuilderContainerRecipe_description (204.87s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMapping_deviceName (207.80s)
--- PASS: TestAccImageBuilderContainerRecipe_component (212.88s)
--- PASS: TestAccImageBuilderContainerRecipe_componentParameter (216.84s)
--- PASS: TestAccImageBuilderContainerRecipe_kmsKeyID (217.91s)
--- PASS: TestAccImageBuilderContainerRecipe_workingDirectory (223.07s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_encrypted (223.52s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_volumeType (223.72s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMapping_virtualName (223.74s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_volumeSize (223.92s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMapping_noDevice (224.19s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_Image (228.24s)
--- PASS: TestAccImageBuilderContainerRecipe_platformOverride (228.94s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_deleteOnTermination (229.37s)
--- PASS: TestAccImageBuilderContainerRecipe_dockerfileTemplateURI (229.79s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_snapshotID (245.13s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_kmsKeyID (100.84s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_iops (94.37s)
--- PASS: TestAccImageBuilderContainerRecipe_InstanceConfiguration_BlockDeviceMappingEBS_throughput (79.66s)
--- PASS: TestAccImageBuilderContainerRecipe_basic (85.88s)
--- PASS: TestAccImageBuilderContainerRecipe_tags (294.79s)
This functionality has been released in v4.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Adds the ability to define a custom image for an EMR Serverless application. Also added
platform_override
option support for AWS ImageBuilder.When I tried to use a public ecr image (for example
public.ecr.aws/emr-serverless/hive/emr-6.9.0
) for the imageUri option, I received a 500 error (also occurred when using the aws-cli as well). To get around this, I had to build a custom image off that base and put it in a temporary ECR repo. Unfortunately, this make the new acceptance test a lot more complicated and long running.Also, sorry if my Go isn't particularly idiomatic - I'm a relative newbie with it! Happy to take on any feedback :).
Relations
Closes #24711
Closes #30230
Output from Acceptance Testing