aws-ia / cloudformation-cloudflare-resource-providers

Cloudflare CFN Registry resource
Apache License 2.0
9 stars 6 forks source link

CloudFormation extension Cloudflare::Dns::Record getting stuck in CREATE_IN_PROGRESS state #20

Open shrikul05 opened 1 year ago

shrikul05 commented 1 year ago

Unable to view the logs in the log group as well

LucasQChen commented 1 year ago

Hello @shrikul05 we'll take a look at this.

duncangrant commented 1 year ago

Hi @shrikul05 I'm looking into this. I've tried a few different tests to replicate this and I haven't managed so far. Can you give me any further information on what you are trying to do. Is this always a problem? Or does it sometimes work? What record type are you creating? Have you included any meta data in the record? Thanks

bauer01 commented 1 year ago

Hi @duncangrant I have same problem, I'm trying to setup CNAME records with SST framework (CDK):

new CfnResource(stack, cfId, {
    type: 'Cloudflare::Dns::Record',
    properties: {
        ZoneId:  'myzoneid',
        Type: 'CNAME',
//              Meta: { test: 'test' }, // Seems to have no effect if i comment or uncomment this
        Name: 'fauth.api',
        Content: 'myapiurl',
        Proxied: false,
        Ttl: 1
    }
})

All deployments has failed yet and there is no problem to setup this values manually inf CloudFlare UI

bauer01 commented 1 year ago

I've tried the same values with CURL and it's successfully created

dakotawashok commented 2 months ago

Hello! I don't mean to pile on, but I'm having the same problem when trying to provision a singular Cloudflare DNS Record with the CDK library construct: image I've made sure to activate the Third Party Extension: image And I configured it appropriately with the URL and API Key, though I need to confirm this...

Is there a place I can find the logs for the execution attempt for this custom resource? Is there a place I can find the request values/response values from Cloudflare for this custom resource?

dreem2001 commented 4 weeks ago

Hello. Have same issue with stacking in "InProgress' state. I'd be great to have such resource type working. Can find any logs or places where I could be debug it. Thanks.