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

Upstream v5.71.0 #4638

Merged
merged 8 commits into from
Oct 15, 2024
Merged

Upstream v5.71.0 #4638

merged 8 commits into from
Oct 15, 2024

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Oct 14, 2024

Upstream is updated to v5.71.0

New resources:

backup/restoreTestingPlan.RestoreTestingPlan
backup/restoreTestingSelection.RestoreTestingSelection
datazone/userProfile.UserProfile
pinpoint/smsvoicev2ConfigurationSet.Smsvoicev2ConfigurationSet
route53/profilesAssociation.ProfilesAssociation
route53/profilesProfile.ProfilesProfile
route53/profilesResourceAssociation.ProfilesResourceAssociation

New functions:

amp/getDefaultScraperConfiguration.getDefaultScraperConfiguration
bedrock/getInferenceProfile.getInferenceProfile
bedrock/getInferenceProfiles.getInferenceProfiles
elasticache/getServerlessCache.getServerlessCache
route53/getProfilesProfiles.getProfilesProfiles

Fixes #4630

Computed: true,
names.AttrTags: tftags.TagsAttribute(),
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(),
+ names.AttrTagsAll: tftags.TagsAttribute(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch conflict here. I think simply the surrounding code changed upstream, so all this does is makes sure the patch still cleanly applies, while the real edits are removing ComputedOnly.

},
},
names.AttrTags: tftags.TagsAttribute(),
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More edits.

Copy link

github-actions bot commented Oct 14, 2024

Does the PR have any schema changes?

Found 3 breaking changes:

Resources

  • 🟢 "aws:sagemaker/workteam:Workteam": required: "workforceName" property is no longer Required

Types

  • 🟢 "aws:backup/getPlanRule:getPlanRule": required: "scheduleExpressionTimezone" property has changed to Required
  • 🟢 "aws:route53/ResolverRuleTargetIp:ResolverRuleTargetIp": required: "ip" property is no longer Required

New resources:

  • backup/restoreTestingPlan.RestoreTestingPlan
  • backup/restoreTestingSelection.RestoreTestingSelection
  • datazone/userProfile.UserProfile
  • pinpoint/smsvoicev2ConfigurationSet.Smsvoicev2ConfigurationSet
  • route53/profilesAssociation.ProfilesAssociation
  • route53/profilesProfile.ProfilesProfile
  • route53/profilesResourceAssociation.ProfilesResourceAssociation

New functions:

  • amp/getDefaultScraperConfiguration.getDefaultScraperConfiguration
  • bedrock/getInferenceProfile.getInferenceProfile
  • bedrock/getInferenceProfiles.getInferenceProfiles
  • elasticache/getServerlessCache.getServerlessCache
  • route53/getProfilesProfiles.getProfilesProfiles

Maintainer note: consult the runbook for dealing with any breaking changes.

@t0yv0 t0yv0 requested review from corymhall and flostadler October 14, 2024 22:32
@t0yv0 t0yv0 marked this pull request as ready for review October 14, 2024 22:32
Copy link
Contributor

@flostadler flostadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one question, looks good otherwise

provider/resources.go Outdated Show resolved Hide resolved
@t0yv0 t0yv0 requested a review from flostadler October 15, 2024 15:32
@t0yv0
Copy link
Member Author

t0yv0 commented Oct 15, 2024

@flostadler we didn't quite always align the Pulumi ID with TF import IDs but it is safe to do so and makes sense, I implemented your suggestion, PTAL.

Copy link
Contributor

@flostadler flostadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

) (resource.ID, error) {
// The ${name}:${restoreTestingPlanName} is the format used by TF import, so we are going to use it for
// the Pulumi ID as well.
return attrWithSeparator(state, ":", "name", "restoreTestingPlanName"), nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't even that worried about the separator, mostly the order. But it's fine nevertheless!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well, I think.

@t0yv0 t0yv0 merged commit 9d605a9 into master Oct 15, 2024
32 checks passed
@t0yv0 t0yv0 deleted the upstream-V5.71.0 branch October 15, 2024 18:44
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v6.56.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade terraform-provider-aws to v5.71.0
3 participants