colossal-room-15708
06/21/2020, 9:37 PMbroad-dog-22463
06/21/2020, 9:39 PMmysterious-australia-14256
06/23/2020, 12:51 PMnice-football-42636
06/23/2020, 2:33 PMC# SDK
with Azure provider.
I want to create new AppService
with existing AppServicePlan
on Azure (we are migrating as a company to Pulumi, but slowly and we still have some resources in the azure created manually).
When i try to reference it as described here I get following error (i suppose from Azure api)
error: ID was missing the `serverfarms` element
But i'm sure, that the id is correct in form of:
/subscriptions/<OUR_SUB_ID>/resourceGroups/<OUR_RESOURCE_GROUP_NAME>/providers/Microsoft.Web/serverFarms/<OUR_APP_SERVICE_PLAN_NAME>
And that it exists.
Have somebody experienced this issue or do you have any hints what could be root cause of this error?
Thanks for any insights / hints! 🙂millions-journalist-34868
06/23/2020, 2:48 PMmysterious-australia-14256
06/23/2020, 3:18 PMenough-kite-69616
06/23/2020, 9:32 PM@pulumi\postgresql
package. How do I tie the roles and schemas to the server I create?enough-kite-69616
06/24/2020, 6:14 PMfamous-jelly-72366
06/25/2020, 1:04 PMechoing-librarian-76448
06/25/2020, 4:05 PMazure:mssql:Server (<edit>):
error: Error waiting on create/update future for SQL Server "<edit>" (Resource Group "<edit>"): Code="PasswordNotComplex" Message="Password validation failed. The password does not meet policy requirements because it is not complex enough."
The password generated for this attempt (nw$a594KSKEu%9tXdIMRlj!#DqoD61mp) more than meets the standards in Microsoft's documentation. I'm not sure where to go from here to get past this issue.
I'm using Go and on version <http://github.com/pulumi/pulumi-azure/sdk/v3|github.com/pulumi/pulumi-azure/sdk/v3> v3.10.0
.enough-kite-69616
06/25/2020, 7:58 PMpostgresql:index:Role (ground-control-db): error: Error initializing PostgreSQL client: error detecting capabilities: error PostgreSQL version: dial tcp: lookup ground-control-db-server on 8.8.8.8:53: no such host
enough-kite-69616
06/25/2020, 7:58 PMenough-kite-69616
06/25/2020, 7:59 PMlittle-kangaroo-50941
06/26/2020, 1:21 PMkind-tomato-78099
06/26/2020, 2:57 PMminiature-leather-70472
06/28/2020, 4:25 PMlimited-carpenter-34991
06/29/2020, 9:35 AMbitter-afternoon-8442
06/29/2020, 10:55 AMFailed to retrieve the host keys
errors? Started receiving those errors during pulumi up
without doing any change, and could find anything helpful in the logs when executing with --logtostderr -v=3
. Full exception in the thread.ambitious-father-68746
06/29/2020, 1:26 PMswift-lunch-74411
06/30/2020, 11:26 AMenough-kite-69616
06/30/2020, 1:16 PMerror: Running program '/Users/jason/projects/cluster-config/pulumi' failed with an unhandled exception:
Error: Invoke of 'azure:core/getClientConfig:getClientConfig' failed: rpc error: code = Unknown desc = invocation of azure:core/getClientConfig:getClientConfig returned an error: Error building account: Error getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1 ()
enough-kite-69616
06/30/2020, 2:40 PMdo not have ServiceEndpoints for Microsoft.Sql resources configured. Add Microsoft.Sql to subnet's ServiceEndpoints collection before trying to ACL Microsoft.Sql resources to these subnets.'
Is there a way to modify the serviceEndpoints
property of the subnet after creation, or do I have to know all of the services I want to be able to access up front when I create the subnet?curved-alarm-76356
06/30/2020, 3:54 PMquiet-hairdresser-18834
06/30/2020, 4:16 PMenough-kite-69616
06/30/2020, 8:51 PMpostgresql:index:Role (ground-control-db):
error: Error initializing PostgreSQL client: error detecting capabilities: error PostgreSQL version: pq: Invalid connection parameters specified. Check connection parameters, and try again.
This is the code that's failing:
const adminPassword = new random.RandomPassword(name + "-admin-password", {length: 12, special: false}).result;
let serverName = name + '-server';
const server = new azure.postgresql.Server(serverName, {
name: serverName,
location: resourceGroup.location,
resourceGroupName: resourceGroup.name,
administratorLogin: "psqladmin",
administratorLoginPassword: adminPassword,
skuName: "GP_Gen5_4",
version: "10",
sslEnforcement: `Enabled`,
storageProfile: {
storageMb: 5120,
backupRetentionDays: 7,
autoGrow: 'Enabled',
},
tags: {
"project": "mercury"
}
});
let dbName = name + '-db';
const db = new azure.postgresql.Database(dbName,{
name: dbName,
resourceGroupName: resourceGroup.name,
serverName: server.name,
charset: 'UTF8',
collation: 'en-US'
}, {
dependsOn: server
});
const databaseUsersNetworkRule = new azure.postgresql.VirtualNetworkRule("dbusersallowed", {
resourceGroupName: resourceGroup.name,
serverName: server.name,
subnetId: subnet.id,
});
const pgProvider = new pgsql.Provider(serverName,{
username: `${server.administratorLogin}@${serverName}`,
password: server.administratorLoginPassword,
host: server.fqdn,
});
const userPassword = new random.RandomPassword(name + "-password", {length: 12, special: false}).result;
const role = new pgsql.Role(name, {login: true, password: userPassword}, {dependsOn: server, provider: pgProvider});
const schema = new pgsql.Schema(name , {
owner: name,
policies: [
{
role: role.name,
usage: true,
create: true
}
],
},
{dependsOn: [server, role, databaseUsersNetworkRule], provider: pgProvider});
chilly-crayon-19101
07/03/2020, 9:22 PMquiet-hairdresser-18834
07/03/2020, 11:56 PMmysterious-australia-14256
07/06/2020, 10:11 AMflat-bear-83490
07/06/2020, 2:37 PMbetter-rainbow-14549
07/07/2020, 11:18 AMbetter-rainbow-14549
07/07/2020, 11:18 AMtall-librarian-49374
07/07/2020, 11:49 AMbetter-rainbow-14549
07/07/2020, 11:49 AMtall-librarian-49374
07/07/2020, 11:50 AMbetter-rainbow-14549
07/07/2020, 11:50 AMtall-librarian-49374
07/07/2020, 11:51 AMazure.eventhub.EventHubNamespace
?better-rainbow-14549
07/07/2020, 11:51 AMtall-librarian-49374
07/07/2020, 11:52 AMbetter-rainbow-14549
07/07/2020, 11:52 AMtall-librarian-49374
07/07/2020, 11:53 AMbetter-rainbow-14549
07/07/2020, 11:53 AMtall-librarian-49374
07/07/2020, 11:54 AM