<title>resource "azurerm_site_recovery_replication_recovery_plan" "
- Dominant language
- HCL
- Stars
- 925
- Forks
- 930
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 5
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Where would you like this feature added?
Verified Modules
### Is this feature ask due to a problem that you are encountering?
Here is the resource I am trying to deploy:

In the above code , getting issues in specifying replicated_protected_items & runbook_id as both are specified in a resource block that uses for_each and they both require for_each while getting declared in the above resource....
### Describe potential solutions.
Tried to specify replicated_protected_items in locals.tf but no luck
Any way that I can combine the conditions of both for_each in a single for_each statement

### Anything else?
Current code:

pipeline error:

If I change the post_action type to "ScriptActionDetails" and specify the scriot
_path instead, I get below pipeline error:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the azurerm_site_recovery_replication_recovery_plan resource block and the attempted locals.tf definition described in the issue. Reproduce the pipeline errors for replicated_protected_items, runbook_id, and the alternate ScriptActionDetails configuration. Done means the requested Verified Module configuration supports the required iteration and passes its validation or acceptance checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, terraform
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100