
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@blitzm/azure-postgres-flexible
Advanced tools
@blitzm/azure-postgres-flexible is a pulumi component that simplifies the deployment of Azure PostgresSql flexible server in azure
@blitzm/azure-postgres-flexible is a pulumi component that simplifies the deployment of Azure PostgresSql flexible server in azure
This package can be installed using npm
npm install --save --save-exact @blitzm/azure-postgres-flexible
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import { AzurePostgresSqlFlexible } from "@blitzm/azure-postgres-flexible";
// Create an Azure Resource Group
const resourceGroup = new azure.core.ResourceGroup("sample-rc");
const vNet = new azure.network.VirtualNetwork('vnet', {
name: 'vnet',
resourceGroupName: resourceGroup.name,
addressSpaces: [ '10.13.0.0/16' ]
});
const logAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace(
"db-log-analytics",
{
resourceGroupName: resourceGroup.name,
name: "db-test-analytic",
retentionInDays: 180,
}
);
const db = new AzurePostgresSqlFlexible("sample-db", {
resourceGroup: resourceGroup,
skuName: "B_Standard_B2s",
storageSizeGB: 64,
version: "14",
backupRetentionDays: 7,
geoRedundantBackupEnabled: false,
database: {
name: "sample",
},
zone: "3",
vNet: vNet,
diagnosticSetting: {
name: "test-diag",
enabledLogs: [
{ category: "PostgreSQLLogs" },
{ category: "PostgreSQLFlexSessions" },
{ category: "PostgreSQLFlexQueryStoreRuntime" },
{ category: "PostgreSQLFlexQueryStoreWaitStats" },
{ category: "PostgreSQLFlexTableStats" },
{ category: "PostgreSQLFlexDatabaseXacts" },
],
metrics: [
{
category: "AllMetrics",
enabled: true,
},
],
logAnalyticsWorkspaceId: logAnalyticsWorkspace.id,
},
});
export const dbDetails = db;
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
FAQs
@blitzm/azure-postgres-flexible is a pulumi component that simplifies the deployment of Azure PostgresSql flexible server in azure
The npm package @blitzm/azure-postgres-flexible receives a total of 9 weekly downloads. As such, @blitzm/azure-postgres-flexible popularity was classified as not popular.
We found that @blitzm/azure-postgres-flexible demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.