# @wanews/pulumi-certificate-validation

> This resource makes it easy to validate any certificates you provision. It supports certificates with multiple domain names attached, creating all required validation records.

Latest version **0.5.2** (published 2022-08-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @wanews/pulumi-certificate-validation
pnpm add @wanews/pulumi-certificate-validation
yarn add @wanews/pulumi-certificate-validation
bun add @wanews/pulumi-certificate-validation
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.5.2 |
| Published | 2022-08-12 |
| First published | 2021-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 410.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Seven West Media WA |
| Maintainers | wimomisterx, karibarnard, jakeginnivan |
| Keywords | Pulumi |

## Links

- npm: https://www.npmjs.com/package/@wanews/pulumi-certificate-validation
- Repository: https://github.com/sevenwestmedia-labs/pulumi-components
- Homepage: https://github.com/sevenwestmedia-labs/pulumi-components/tree/master/libs/certificate-validation#readme
- Issues: https://github.com/sevenwestmedia-labs/pulumi-components/issues
- npm.io page: https://npm.io/package/@wanews/pulumi-certificate-validation

## Recent versions

- 0.5.2 (latest) — 2022-08-12
- 0.5.1 — 2022-04-16
- 0.5.0 — 2022-04-16
- 0.4.0 — 2021-07-18
- 0.3.0 — 2021-04-21
- 0.2.0 — 2021-04-21
- 0.1.0 — 2021-03-24

## README

# AWS Certificate Validation

This resource makes it easy to validate any certificates you provision. It supports certificates with multiple domain names attached, creating all required validation records.

## Usage

```ts
import { ValidateCertificate } from '@wanews/pulumi-certificate-validation'
import { Certificate } from '@pulumi/aws/acm'

const cert = new Certificate(`${name}-cert`, {
  domainName: 'my.customdomain.net',
  validationMethod: 'DNS',
})

// Get the route53 zone
const zone = pulumi.output(aws.route53.getZone({ name: 'customdomain.net' }))
  .zoneId

// Use @wanews/pulumi-certificate-validation to perform dns validation
const validCertificate = new ValidateCertificate(`cert-validation`, {
  cert,
  // Certificates can be for multiple domains
  // You need to specify the domain, plus the hosting route53 zone id
  // (the validation DNS records will be created in those zone)
  zones: [
    {
      domain: 'my.customdomain.net',
      zoneId,
    },
  ],
})

// use this arn which will be resolved once the certificate is validated
const certArn = validCertificate.validCertificateArn
```

---
_Source: https://npm.io/package/@wanews/pulumi-certificate-validation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
