Closed dipesh747 closed 1 year ago
@dipesh747 The fix made for #17558 (https://github.com/hashicorp/go-azure-helpers/pull/123) also applies to the container_sas as both data sources' underlying calls are the same.
The temporary fix doesnt apply as I don't have keys tag, filter or signed version in my tf.
When will your pr from magodo:sas_fix be merged?
@tombuildsstuff Can we continue reviewing https://github.com/hashicorp/go-azure-helpers/pull/123?
I've noticed this pr has been open since July. What's your eta for merge?
Would you be able to provide an update please.
Would you be able to provide an update please.
Do we have an update on this issue?
@dipesh747 I think it's possible to fork the original PR, make the changes that @tombuildsstuff requested, and go from there. I think that's the most viable path forward.
Any movement? Still appears to be a problem
@devianzincarnate I put forward a quick snippet on @magodo's PR responding to @tombuildsstuff's PR question / feedback. I believe(?) the ball is in @tombuildsstuff's court.
@magodo @tombuildsstuff - please let me know if there's any way I can support getting this issue addressed. I have production infrastructure that is impacted by this issue and I'm available to work in a professional capacity on further research / testing / QA to confirm a solution.
We just hit this today as well. :( Any ETA on a fix?
@tgolly the pull request (#123) targeting the core issue has been merged into main (see this commit), but has not been released yet.
Since https://github.com/hashicorp/terraform-provider-azurerm/pull/21725 is merged that upgrades the go-azure-helpers to v0.56.0, so I'm gonna close this issue as the fix is in. Please feel free to reopen it if the issue remains.
This issue doesn't appear to be fixed in v3.56.0. I get a Signature fields not well formed.
error when trying to use a SAS token generated by this data source.
@DevOpsFu what's the format of the token?
@westonplatter My apologies - please ignore this. I have it working now. The reason I received an error before was due to the leading ?
on the SAS token that the provider produces. The SAS tokens that get produced via the portal do not have this - I was not taking this into account in my Terraform code.
Confirmed the sas token changes are working on our infra in azure. Thanks @magodo and @dipesh747 for paving the way on the changes.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
2.14.0
AzureRM Provider Version
3.1.0
Affected Resource(s)/Data Source(s)
azurerm_storage_account_blob_container_sas
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
SAS token should be in the following format:
Actual Behaviour
Steps to Reproduce
Important Factoids
No response
References
I followed this thread which was very similar: https://github.com/hashicorp/terraform-provider-azurerm/issues/16295 However I have tried different entries for start and end date in ISO 8601 format with no offsets, but I still get the issue.
This thread had the same issue but for account_sas rather than container_sas and their fix does not apply here: https://github.com/hashicorp/terraform-provider-azurerm/issues/17558