canonical / charmed-aether-sd-core

Charmed Aether SD-Core is a secure, reliable and observable open source 5G private mobile network.
https://canonical-charmed-aether-sd-core.readthedocs-hosted.com/en/latest/
Apache License 2.0
2 stars 2 forks source link

fix: use offer url instead of amf app name #36

Closed gruyaume closed 2 weeks ago

gruyaume commented 2 weeks ago

Description

We fix a bug in the tutorial that was caused by a change in the Terraform modules:

Logs

guillaume@thinkpad:~/terraform$ terraform apply --auto-approve
╷
│ Error: Unsupported attribute
│ 
│   on main.tf line 41, in resource "juju_integration" "gnbsim-amf":
│   41:     name     = module.sdcore.amf_app_name
│     ├────────────────
│     │ module.sdcore is a object
│ 
│ This object does not have an attribute named "amf_app_name".
╵
╷
│ Error: Unsupported attribute
│ 
│   on main.tf line 42, in resource "juju_integration" "gnbsim-amf":
│   42:     endpoint = module.sdcore.fiveg_n2_endpoint
│     ├────────────────
│     │ module.sdcore is a object
│ 
│ This object does not have an attribute named "fiveg_n2_endpoint".
╵

Checklist:

gruyaume commented 2 weeks ago

Actually this does not work, closing:

│ Error: Client Error
│ 
│   with juju_integration.gnbsim-amf,
│   on main.tf line 32, in resource "juju_integration" "gnbsim-amf":
│   32: resource "juju_integration" "gnbsim-amf" {
│ 
│ Unable to consume remote offer, got error: cannot add saas application "amf": local application with same name already exists
╵