def METHOD_NAME(self, block_idx: int, foreach_idx: int, main_resource: TerraformBlock,
                                 new_key: int | str, new_value: int | str) -> None:
    self._create_new_resource(main_resource, new_value, new_key=new_key, resource_idx=block_idx,
                              foreach_idx=foreach_idx)