Skip to main content

pulumi_maas

A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.

Prerequisites

Before you begin, make sure you have the following prerequisites installed and configured:

pulumi new python
pulumi stack init dev

Install pulumi-maas Python 3 package:

pip install pulumi-maas

Export MaaS variables:

export MAAS_API_VERSION=2.0
export MAAS_API_KEY=xxxxxxxx
export MAAS_API_URL=http://maas.example.org:5240/MAAS

Examples

Create a new domain

import pulumi
import pulumi_maas as maas

test_example_domain = maas.DnsDomain(
    "test_domain",
    name="test.example.org",
    ttl=3600,
    authoritative=True,
)

pulumi.export("test_example_domain", test_example_domain.id)

Launch Pulumi commands:

pulumi preview
pulumi up
pulumi destroy

Contributing

Contributions to this project are welcome! If you find any issues or have improvements to suggest, please open an issue or submit a pull request.

Acknowledgments

  • Pulumi Documentation
  • Metal as a Service (MaaS) Documentation

Go further

Publish this project

python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*

Metadata

Release files for pulumi-maas 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumi-maas 1.0.3
File Size Uploaded Provenance
pulumi_maas-1.0.3.tar.gz 32.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pulumi-maas 1.0.3
File Interpreter ABI Platform
pulumi_maas-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 136.5 kB

Release files / pulumi_maas-1.0.3.tar.gz

Download URL pulumi_maas-1.0.3.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
394c4d5eaee2af82385b03873cd10028badb90ca5ad6e68683281632d2b5f3bf
BLAKE2b-256 checksum
How to use checksums
f39d734ec9f7399d06178dd07cb52b344017764caea172e055de1a5ff42b5686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / pulumi_maas-1.0.3-py3-none-any.whl

Download URL pulumi_maas-1.0.3-py3-none-any.whl
Size 104.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bc5aa0fe677be996ce60547c9d091d22871438c403036747d80e09d2fdf70a5
BLAKE2b-256 checksum
How to use checksums
ef037b59e849af7c46d672b5a8d7af7072f55fae16b03d181393c1aa9b64fe51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for pulumi-maas 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page