-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update documentation for target_regions block #430
Comments
Hey @dhananjaipai thanks for raising this issue I have addressed the documentation issue and you can now see the target region docs here |
If you search that page for "target_region" (singular, not plural) you should see there is still example HCL2 showing
Does this need updating too @JenGoldstrich ? |
@eugeneswalker I am not understanding what you are suggesting should be updated, can you please open a new issue describing what you think needs to be updated here and we'll address it as we're able |
This is still the case with the documentation linked in the first sentence of this issue: To reproduce try using Packer 1.11.2 with this syntax:
And you will get an error:
So, as the original issue says, if you use |
OK so a few things here I do not think the issue you are experiencing is the one that original issue author experienced, this issue was that the previous docs did not contain information on the sub fields of the target region block, now they do, the docs have changed which is why this issue specifically requesting the documentation updating is closed. The author mentioned "it does not work" because they are referencing the docs before this issue was closed, which are different from how they are now. This issue has nothing to do with any bugs there may be in the target_region block. The docs issue has been resolved and that's why you see docs about the target_region block. Your error is most likely due to the Packer Azure Plugin version not the Packer version, the Packer Azure plugin is a distinct binary that is shipped and versioned separately from Packer. If you check the screenshot you can see the docs are versioned, you choose in that drop down what version of the plugin you want to view the docs of, you are referencing are for Packer Azure Plugin v2.1.8. The Please confirm your version of the Packer Azure Plugin supports target_region, if you are on an Azure plugin version that supports it and still see this error please open a new issue, listing your plugin version and a minimum full Packer template to reproduce. A new issue is less likely to get lost in my inbox, and there are many community members who check issues and can often help as well, instead of pinging one person in a closed issue |
Overview of the Issue
The documentation for
target_regions
does not specify the expected inputs in the block.It just shows
with no reference to what
[]TargetRegion
is.Reproduction Steps
Try setting
target_region
based on official docs and it does not workThe PR #387 seems to use
replicas
instead ofregionalReplicaCount
orregional_replica_count
as expected, and there is no reference to this in the documentation.Plugin and Packer version
From
packer version
1.11.1The text was updated successfully, but these errors were encountered: