-
Notifications
You must be signed in to change notification settings - Fork 30
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
bitbucket_pipeline_schedule resource throwing 404 #120
Comments
@DrFaust92 Could you please take a look at this issue? |
We are facing a similar issue! @alaminopu, have you been able to resolve this? I noticed that you are using a 5-segment cron-string while bitbucket expects 7 segments (i.e. seconds and years). However, even with a 7-segment cron-string, we get a 404 although the API call works with CURL |
@mauriceackel no. Wasn't able to resolve it. We are currently using manual schedule setup until this is fixed. |
Hi all,
I’ll try to take a look later this week
Thanks,
…On Mon, 13 Nov 2023 at 12:10 Md Al Amin ***@***.***> wrote:
@mauriceackel <https://github.com/mauriceackel> no. Wasn't able to
resolve it. We are currently using manual schedule setup until this is
fixed.
—
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIA2W7QP67XD6ZX6BO54SHLYEHWYJAVCNFSM6AAAAAAS5ZEWC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXHA2TGOBSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I did some more digging and found out, that the bitbucket go client, that is used by this provider, seems to be working fine. I tested the main branch of the client library with this setup:
As this was working, I suspect the issue is somewhere in here: |
I don't have experience with Go, but I just stumbled upon this line here. This casts (at least from my understanding), the whole "target" object to a map of strings. However, it does not only consist of strings, as "selector" is again a list. So maybe this is causing the issue, but I am really unsure. |
@DrFaust92 had a chance to look at this issue? |
Creating a pipeline schedule using
bitbucket_pipeline_schedule
is failing.Terraform Version
1.3.6
Affected Resource(s)
bitbucket_pipeline_schedule
Debug Output
https://gist.github.com/alaminopu/f06c1c8638d84a14d9c67dd5f8582116
The text was updated successfully, but these errors were encountered: