Skip to content

Commit

Permalink
Merge pull request #335 from aaronpalermo/patch-1
Browse files Browse the repository at this point in the history
API port changed from 444 to 8443
  • Loading branch information
thomascellerier authored Oct 24, 2023
2 parents 978ca7f + 7414e4f commit f5ad4c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ make test

Example how to run acceptance test on an existing appgate environment.
```bash
APPGATE_ADDRESS="https://envy-10-97-168-40.devops:444/admin" \
APPGATE_ADDRESS="https://envy-10-97-168-40.devops:8443/admin" \
APPGATE_USERNAME="admin" \
APPGATE_PASSWORD="admin" \
make testacc
Expand All @@ -56,7 +56,7 @@ make testacc
test 1 acceptance test, for example
```bash
TF_ACC=1 \
APPGATE_ADDRESS="https://ec2-54-80-224-21.compute-1.amazonaws.com:444/admin" \
APPGATE_ADDRESS="https://ec2-54-80-224-21.compute-1.amazonaws.com:8443/admin" \
APPGATE_USERNAME="admin" \
APPGATE_PASSWORD="admin" \
go test -v -timeout 120m github.com/appgate/terraform-provider-appgatesdp/appgate -run '^(TestAccApplianceBasicController)$'
Expand Down
2 changes: 1 addition & 1 deletion appgate/resource_appgate_appliance.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func resourceAppgateAppliance() *schema.Resource {
"https_port": {
Type: schema.TypeInt,
Optional: true,
Default: 444,
Default: 8443,
},
"allow_sources": allowSourcesSchema(),
},
Expand Down
8 changes: 4 additions & 4 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: |-
provider "appgatesdp" {
username = "admin"
password = "admin"
url = "https://controller.devops:444/admin"
url = "https://controller.devops:8443/admin"
provider = "local"
insecure = true
}
Expand Down Expand Up @@ -46,7 +46,7 @@ Usage:

```hcl
provider "appgatesdp" {
url = "https://appgate.controller.com:444/admin"
url = "https://appgate.controller.com:8443/admin"
username = "admin"
password = "admin"
provider = "local"
Expand All @@ -63,7 +63,7 @@ provider "appgatesdp" {}
Usage:

```sh
$ export APPGATE_ADDRESS="https://controller.devops:444/admin"
$ export APPGATE_ADDRESS="https://controller.devops:8443/admin"
$ export APPGATE_USERNAME="admin"
$ export APPGATE_PASSWORD="admin"
$ export APPGATE_PROVIDER="local"
Expand Down Expand Up @@ -135,7 +135,7 @@ eyJjbGFpbXNUb2tlbiI6ImV5SmhiR2NpT2lKU1V6VXhNaUlzSW5wcGNDSTZJa1JGUmlJc0luUjVjQ0k2
```hcl
provider "appgatesdp" {
# this block can be empty or omitted, either provider the URL as environment variable or in a config file.
url = "https://appgate.controller.com:444/admin"
url = "https://appgate.controller.com:8443/admin"
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/appliance.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Source configuration to allow via iptables.
The details of peer connection interface. Used by other appliances and administrative UI. This interface is deprecated as of 5.4. All connections will be handled by clientInterface and adminInterface in the future. The hostname field is used as identifier and will take over the hostname field in the root of Appliance when this interface is removed.

* `hostname`: (Required) Hostname to connect by the peers. It will be used to validate the appliance certificate. Example: appgate.company.com.
* `https_port`: (Optional) default value `444` Port to connect for peer specific services.
* `https_port`: (Optional) default value `8443` Port to connect for peer specific services.
* `allow_sources`: (Optional) Source configuration to allow via iptables.
#### allow_sources
Source configuration to allow via iptables.
Expand Down

0 comments on commit f5ad4c0

Please sign in to comment.