The Simplest Way to Make Cloudformation and Zendesk Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair cloudformation and zendesk to tie support tickets to cloud stack changes. This setup lets support staff ask for cloud updates while AWS builds resources. In many shops, a user opens a ticket to ask for a new database. An approved ticket then kicks off a stack update in AWS. When the stack finishes, the cloud event writes the status back to the ticket. This workflow keeps support agents and cloud builders on the same page. Nobody needs to copy and paste server names between chat rooms

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair cloudformation and zendesk to tie support tickets to cloud stack changes. This setup lets support staff ask for cloud updates while AWS builds resources.

In many shops, a user opens a ticket to ask for a new database. An approved ticket then kicks off a stack update in AWS. When the stack finishes, the cloud event writes the status back to the ticket. This workflow keeps support agents and cloud builders on the same page. Nobody needs to copy and paste server names between chat rooms and tickets.

How cloudformation and zendesk share permissions and data

The two tools talk to each other through webhooks, event buses, and cloud functions. First, a ticket change in the support app sends an outbound message to AWS. A cloud function reads the ticket data and checks if the request is valid. Then the function calls the AWS stack engine to build or update resources.

Each step needs its own set of keys and roles to stay safe. The support app needs a scoped key to send messages to the cloud endpoint. On the cloud side, the stack engine assumes an AWS role with limited rights. This role should only build the exact resources named in the template.

To send updates back, the stack engine publishes state events to an event bus. Another small function catches those events and calls the support API. It uses a dedicated API token to post a comment on the ticket. The comment tells the agent if the stack update passed or failed.

Common failure modes and how to scope roles

Many teams make mistakes when they first wire these two platforms together. The biggest mistake is using a single admin token for all ticket updates. If that broad token leaks, an attacker can read every support ticket you have. Tickets often hold private data like emails, phone numbers, card numbers, or national IDs.

Another common risk is giving the stack engine a full admin role in AWS. If a bad template runs, it could wipe out your core network or databases. Teams also forget to log who approved the ticket before the stack ran. Without clear logs, auditors cannot tell who asked for a costly cloud change.

CloudFormation Guard + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix these gaps with strict role scoping and network rules. Give the support webhook its own service account with write rights to one endpoint. Store the support API token inside a dedicated cloud secret store, not in text. Set the secret store to rotate that token on a set schedule.

Next, lock down the AWS role that the stack engine uses during runs. Write role rules that allow only the specific resource types needed for that job. Put your cloud functions in a private network subnet with strict outbound rules. Allow outbound traffic only to the support API domain and AWS service endpoints.

Keeping stack updates and support queues in sync

Long stack updates can cause timeouts if the support app waits for an answer. Never make the ticket webhook wait for the whole cloud build to finish. Instead, have your cloud endpoint check the request and return a quick receipt. Then let the stack build run in the background at its own pace.

Stack updates can also fail halfway through and roll back to an old state. Your event listener must watch for both success events and rollback events. When a rollback happens, send the exact error reason back to the ticket. This detail helps the cloud team fix the template without digging through raw logs.

You should also tag every cloud stack with the ticket number that started it. Tags let your finance and security teams trace any cloud resource back to its request. When the customer closes the ticket, a final webhook can tear down test stacks. This simple step stops unused servers from running up your monthly cloud bill.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How do we stop duplicate stack runs from the same ticket?

Use the ticket number as a unique token when you start the stack task. Check a small state table first so repeat webhook sends do not start new runs.

Where should we store the support API key in AWS?

Keep the API key in a managed cloud secret store with strict read rules. Let only the status update function read that secret when it posts ticket comments.

What happens if the support API is down when a stack finishes?

Put a dead-letter queue on the event rule that sends updates to tickets. Failed messages will wait in the queue so your function can retry them later.

The query runs. The emails stay hidden.