Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

helper/schema: Add validation to prevent write-only attributes in set nested blocks#1427

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SBGoods merged 3 commits intomainfromSBGoods/write-only-set-validation
Feb 18, 2025

Conversation

@SBGoods
Copy link
Contributor

Write-only attributes when used with ephemeral data cannot be used within any set and set-based data due to limitations in Terraform Core. This PR adds validation to block write-only attributes from being used within set nested blocks.

@SBGoodsSBGoods requested review froma team ascode ownersFebruary 18, 2025 22:14
@SBGoodsSBGoods added this to thev2.36.1 milestoneFeb 18, 2025
@SBGoodsSBGoodsforce-pushed theSBGoods/write-only-set-validation branch from75f6c6e tocca1351CompareFebruary 18, 2025 23:31
Copy link
ContributorAuthor

@SBGoodsSBGoods left a comment

Choose a reason for hiding this comment

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

Failing CI checks will be resolved after#1428 is merged

Copy link
Member

@austinvalleaustinvalle left a comment

Choose a reason for hiding this comment

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

LGTM:shipit:

Copy link
Member

Choose a reason for hiding this comment

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

I don't think wehave to repeat this changelog, but I'm not expressly against it 😆

SBGoods reacted with laugh emoji
true,
},
"Set configuration block nested attribute with WriteOnly set returnsno errors": {
"Set configuration block nested attribute with WriteOnly set returnserror": {
Copy link
Member

Choose a reason for hiding this comment

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

Nice that we already had tests for it!

@SBGoodsSBGoods added the bugSomething isn't working labelFeb 18, 2025
@SBGoodsSBGoods merged commitb7f3e6f intomainFeb 18, 2025
23 checks passed
@SBGoodsSBGoods deleted the SBGoods/write-only-set-validation branchFebruary 18, 2025 23:51
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@austinvalleaustinvalleaustinvalle approved these changes

Assignees

No one assigned

Labels

bugSomething isn't working

Projects

None yet

Milestone

v2.36.1

Development

Successfully merging this pull request may close these issues.

2 participants

@SBGoods@austinvalle

[8]ページ先頭

©2009-2025 Movatter.jp