-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add openstack validation for acre.yaml * add openstack-designate support * add swift support for etcd component * adapt gardencontent component for openstack support * adapt documentation (openstack support)
- Loading branch information
1 parent
98cde83
commit 2e22b0a
Showing
11 changed files
with
214 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bucketname: (( data.terraform.modules.[0].outputs.bucketName.value )) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright 2019 Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
provider "openstack" { | ||
user_name = "${var.USERNAME}" | ||
password = "${var.PASSWORD}" | ||
tenant_name = "${var.TENANT_NAME}" | ||
region = "${var.REGION}" | ||
auth_url = "${var.AUTH_URL}" | ||
domain_name = "${var.DOMAIN_NAME}" | ||
} | ||
|
||
|
||
//===================================================================== | ||
//= GCS bucket | ||
//===================================================================== | ||
|
||
resource "openstack_objectstorage_container_v1" "bucket" { | ||
name = "${var.BUCKETNAME}" | ||
region = "${var.REGION}" | ||
force_destroy = true | ||
} | ||
|
||
//===================================================================== | ||
//= Output variables | ||
//===================================================================== | ||
|
||
output "bucketName" { | ||
value = "${openstack_objectstorage_container_v1.bucket.name}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2019 Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
USERNAME: (( config.credentials.username )) | ||
PASSWORD: (( config.credentials.password )) | ||
TENANT_NAME: (( config.credentials.tenantName )) | ||
AUTH_URL: (( config.credentials.authURL )) | ||
DOMAIN_NAME: (( config.credentials.domainName )) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright 2019 Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
variable "USERNAME" { | ||
description = "Username" | ||
type = "string" | ||
} | ||
|
||
variable "PASSWORD" { | ||
description = "Password" | ||
type = "string" | ||
} | ||
|
||
variable "REGION" { | ||
description = "Region of the swift bucket" | ||
type = "string" | ||
} | ||
|
||
variable "BUCKETNAME" { | ||
description = "Name of the bucket" | ||
type = "string" | ||
} | ||
|
||
variable "TENANT_NAME" { | ||
description = "OpenStack Tenant" | ||
type = "string" | ||
} | ||
|
||
variable "AUTH_URL" { | ||
description = "OpenStack Auth URL" | ||
type = "string" | ||
} | ||
|
||
variable "DOMAIN_NAME" { | ||
description = "OpenStack Domain Name" | ||
type = "string" | ||
} |
Oops, something went wrong.